Class: REGO::Block::Html

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



10
11
12
13
14
15
16
# File 'lib/rego/block/html.rb', line 10

def result
	<<-HTML.gsub( /^\t*/, '' )
	<html>
	#{super}
	</html>
	HTML
end