Class: Binding

Inherits:
Object show all
Includes:
Amrita2::DictionaryData
Defined in:
lib/amrita2/template.rb

Instance Method Summary collapse

Methods included from Amrita2::DictionaryData

===

Instance Method Details

#amrita_value(name) ⇒ Object



95
96
97
# File 'lib/amrita2/template.rb', line 95

def amrita_value(name)
  eval "begin; #{name}; rescue(NameError); @#{name};end;", self
end