Module: Flutterby::Node::Rendering
- Included in:
- Flutterby::Node
- Defined in:
- lib/flutterby/node.rb
Instance Method Summary collapse
- #render(opts = {}) ⇒ Object
-
#view(opts = {}) ⇒ Object
Returns a freshly created View instance for this node.
Instance Method Details
#render(opts = {}) ⇒ Object
337 338 339 |
# File 'lib/flutterby/node.rb', line 337 def render(opts = {}) view(opts).render! end |
#view(opts = {}) ⇒ Object
Returns a freshly created View instance for this node.
330 331 332 |
# File 'lib/flutterby/node.rb', line 330 def view(opts = {}) View.for(self, opts) end |