module SimplerWorkflow::OptionsAsMethods

Public Instance Methods

method_missing(meth_name, *args) click to toggle source
Calls superclass method
# File lib/simpler_workflow/options_as_methods.rb, line 3
def method_missing(meth_name, *args)
  if @options.has_key?(meth_name.to_sym)
    @options[meth_name.to_sym] = args[0]
  else
    super
  end
end