Method: Plate::View#method_missing

Defined in:
lib/plate/view.rb

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

Allow this class to pass through to access attributes on the page



62
63
64
65
66
# File 'lib/plate/view.rb', line 62

def method_missing(method, *args, &block)
  self.page.send(method, *args, &block)
rescue NoMethodError
  super
end