Class: H2o::Node
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(parser, position = 0) ⇒ Node
constructor
A new instance of Node.
- #render(context, stream) ⇒ Object
Constructor Details
#initialize(parser, position = 0) ⇒ Node
Returns a new instance of Node.
3 4 5 |
# File 'lib/h2o/nodes.rb', line 3 def initialize(parser, position = 0) raise "Subclass should implement initialize method" end |
Instance Method Details
#render(context, stream) ⇒ Object
7 8 9 |
# File 'lib/h2o/nodes.rb', line 7 def render(context, stream) raise "Subclass should implement method method" end |