Class: Bosh::Template::EvaluationContext::BackCompatOpenStruct

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/bosh/template/evaluation_context.rb

Instance Method Summary collapse

Instance Method Details

#methods(regular = true) ⇒ Object



187
188
189
190
191
192
193
# File 'lib/bosh/template/evaluation_context.rb', line 187

def methods(regular=true)
  if regular
    super(regular)
  else
    marshal_dump.keys.map(&:to_sym)
  end
end