Method: Excalibur::Decorator#method_missing
- Defined in:
- lib/excalibur/decorator.rb
#method_missing(meth, *args) ⇒ Object
methods: render_title, render_description
69 70 71 72 73 74 75 76 77 78 |
# File 'lib/excalibur/decorator.rb', line 69 def method_missing(meth, *args) if meth.to_s =~ /^render_(title|description+)$/ obj = args.first || self subject = configuration.send($1) subject.to_s(obj) if subject.present? else super end end |