class SituationManager

Public Class Methods

new(template) click to toggle source
Calls superclass method MmuPlugin.new
# File template.rb, line 1038
def initialize(template)
  super()
  @template = template
end

Public Instance Methods

method_missing(meth, *args, &block) click to toggle source
# File template.rb, line 1043
def method_missing(meth, *args, &block)
  # Redirecting call to the template.
  if @template.respond_to?(meth)
    @template.send meth, *args, &block
  else
    raise MTRubyError, "Method '#{meth}' is not available in data sections."
  end
end