Sha256: 87c8d05f13b98affac8d9037ee13c9dd58222cc9b1a6104cc1470390f1f32b85

Contents?: true

Size: 432 Bytes

Versions: 11

Compression:

Stored size: 432 Bytes

Contents

module GenesisRuby
  module Builders
    # Contract for every builder abstraction
    class Base

      # Get the Generated Builder Output
      def output
        raise NotImplementedError, 'Output must be implemented'
      end

      # Tree-structured hash representing the request structure
      def populate_nodes(structure)
        raise NotImplementedError, 'Populate Nodes must be implemented'
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
genesis_ruby-0.2.0 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.9 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.8 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.7 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.6 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.5 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.4 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.3 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.2 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.1 lib/genesis_ruby/builders/base.rb
genesis_ruby-0.1.0 lib/genesis_ruby/builders/base.rb