lib/erector/rails2/extensions/rails_helpers.rb
def method_missing(name, *args, &block)
        if parent.respond_to?(name)
          parent.send(name, *args, &block)
        else
          super
        end
      end
# Delegate to non-markup producing helpers via method_missing,
# returning their result directly.
Delegate to non-markup producing helpers via method_missing,
returning their result directly.
Delegate to non - markup producing helpers via method_missing returning their result directly .
def method_missing(name, *args, &block)
        if parent.respond_to?(name)
          parent.send(name, *args, &block)
        else
          super
        end
      end
def method_missing ( name , * args , & block ) if parent . respond_to? ( name ) parent . send ( name , * args , & block ) else super end end
Delegate to non-markup producing helpers via method_missing,
returning their result directly.
Delegate to non - markup producing helpers via method_missing returning their result directly .
name
args
block