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



160
161
162
163
164
165
166
# File 'lib/bosh/template/evaluation_context.rb', line 160

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