class SituationManager

Public Class Methods

new(template) click to toggle source
Calls superclass method MmuPlugin.new
# File template.rb, line 1174
def initialize(template)

  super()

  @template = template

end

Public Instance Methods

method_missing(meth, *args, &block) click to toggle source
# File template.rb, line 1179
def method_missing(meth, *args, &block)

  # Redirecting call to the template.

  if @template.respond_to?(meth)

    @template.send meth, *args, &block

  else

    raise "Method '#{meth}' is not available in data sections."

  end

end