Method: ActiveText::Variable#method_missing
- Defined in:
- lib/active_text/variable.rb
#method_missing(method_name) ⇒ Object
if any of the metadata string methods are called then we return what the value is
22 23 24 25 26 |
# File 'lib/active_text/variable.rb', line 22 def method_missing(method_name) if METADATA.include? method_name.to_s content_of(method_name.to_s) end end |