Method: Sfn::Utils::StackExporter#method_missing

Defined in:
lib/sfn/utils/stack_exporter.rb

#method_missing(*args) ⇒ Object

Provide query methods on options hash



90
91
92
93
94
95
96
97
# File 'lib/sfn/utils/stack_exporter.rb', line 90

def method_missing(*args)
  m = args.first.to_s
  if m.end_with?("?") && options.has_key?(k = m.sub("?", "").to_sym)
    !!options[k]
  else
    super
  end
end