Class: REGO::Block::Head
Instance Method Summary collapse
Methods inherited from Template
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
#result ⇒ Object
20 21 22 23 24 25 |
# File 'lib/rego/block/html.rb', line 20 def result raise ::StandardError::new( 'no title in head' ) unless @title <<-HTML <title>#{@title}</title> HTML end |