Class: Loaf::Builder
- Inherits:
-
Object
- Object
- Loaf::Builder
- Defined in:
- lib/loaf/builder.rb
Instance Attribute Summary collapse
-
#crumbs ⇒ Object
Returns the value of attribute crumbs.
Instance Method Summary collapse
-
#initialize(view_context, collection, options = {}) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(view_context, collection, options = {}) ⇒ Builder
Returns a new instance of Builder.
6 7 8 9 10 11 12 13 |
# File 'lib/loaf/builder.rb', line 6 def initialize(view_context, collection, = {}) @params = .merge() build @params end |
Instance Attribute Details
#crumbs ⇒ Object
Returns the value of attribute crumbs.
4 5 6 |
# File 'lib/loaf/builder.rb', line 4 def crumbs @crumbs end |