Method: Erector::Rails#method_missing

Defined in:
lib/erector/rails3.rb

#method_missing(name, *args, &block) ⇒ Object

Delegate to non-markup producing helpers via method_missing, returning their result directly.



135
136
137
138
139
140
141
# File 'lib/erector/rails3.rb', line 135

def method_missing(name, *args, &block)
  if helpers.respond_to?(name)
    helpers.send(name, *args, &block)
  else
    super
  end
end