Method: MustacheRails#method_missing
- Defined in:
- lib/question_chain/mustache_rails.rb
#method_missing(method_name, *args, &block) ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/question_chain/mustache_rails.rb', line 18 def method_missing(method_name, *args, &block) if self.respond_to?(method_name.to_sym) @view_context.send(method_name,*args, &block) else super end end |