Class: Crayfish::Rails::Base

Inherits:
ActionView::Base show all
Defined in:
lib/crayfish/rails/base.rb

Class Method Summary collapse

Methods included from ActionView

#render

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Crayfish::ActionView

Class Method Details

.call(template) ⇒ Object



27
28
29
30
31
32
# File 'lib/crayfish/rails/base.rb', line 27

def self.call template
  "setup;" +
  "paint <<__this_is_quite_unique__\n" + 
  ::ActionView::Template::Handlers::ERB.call(template) +
  "\n__this_is_quite_unique__\n"
end