Class: REGO::Block::Body

Inherits:
Template show all
Defined in:
lib/rego/block/html.rb

Instance Method Summary collapse

Methods inherited from Template

#initialize, #method_missing

Constructor Details

This class inherits a constructor from REGO::Block::Template

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class REGO::Block::Template

Instance Method Details

#resultObject



29
30
31
32
33
34
35
# File 'lib/rego/block/html.rb', line 29

def result
  "  <body>\n  <h1>\#{@h1}</h1>\n  </body>\n  HTML\nend\n"