Class: RepresentativeView::ActionPack3Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/representative_view/action_pack_3_handler.rb

Class Method Summary collapse

Class Method Details

.call(template) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/representative_view/action_pack_3_handler.rb', line 7

def self.call(template)
  "  representative_view(formats.first) do |r|\n    \#{template.source}\n  end\n  RUBY\nend\n"