Class: GenesisRuby::Builders::Base
- Inherits:
-
Object
- Object
- GenesisRuby::Builders::Base
- Defined in:
- lib/genesis_ruby/builders/base.rb
Overview
Contract for every builder abstraction
Instance Method Summary collapse
-
#output ⇒ Object
Get the Generated Builder Output.
-
#populate_nodes(structure) ⇒ Object
Tree-structured hash representing the request structure.
Instance Method Details
#output ⇒ Object
Get the Generated Builder Output
9 10 11 |
# File 'lib/genesis_ruby/builders/base.rb', line 9 def output raise NotImplementedError, 'Output must be implemented' end |
#populate_nodes(structure) ⇒ Object
Tree-structured hash representing the request structure
14 15 16 |
# File 'lib/genesis_ruby/builders/base.rb', line 14 def populate_nodes(structure) raise NotImplementedError, 'Populate Nodes must be implemented' end |