Class: Decisive::Renderer
- Inherits:
-
Struct
- Object
- Struct
- Decisive::Renderer
- Includes:
- Enumerable
- Defined in:
- lib/decisive/renderer.rb
Defined Under Namespace
Classes: Row
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#records ⇒ Object
Returns the value of attribute records.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
2 3 4 |
# File 'lib/decisive/renderer.rb', line 2 def block @block end |
#records ⇒ Object
Returns the value of attribute records
2 3 4 |
# File 'lib/decisive/renderer.rb', line 2 def records @records end |
Instance Method Details
#each(&block) ⇒ Object
5 6 7 |
# File 'lib/decisive/renderer.rb', line 5 def each &block (header + body).each(&block) end |