Class: Blush::HelperProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/blush/helper_proxy.rb

Overview

Proxy helper methods to the view context

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

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



6
7
8
# File 'lib/blush/helper_proxy.rb', line 6

def method_missing(method, *args, &block)
  Blush.view_context.send(method, *args, &block)
end