Sha256: 509f912007952b2f46e4c695cbdbe2a5158d6fe2020bea5d6ea5d1ff6c5ce6f6

Contents?: true

Size: 488 Bytes

Versions: 10

Compression:

Stored size: 488 Bytes

Contents

require 'mattock/configurable'

module Mattock
  module CascadingDefinition
    include Configurable

    def initialize(*tasklibs)
      setup_defaults
      default_configuration(*tasklibs)

      yield self if block_given?

      resolve_configuration
      confirm_configuration

      define
    end

    def default_configuration(*tasklibs)
    end

    def resolve_configuration
    end

    def confirm_configuration
      check_required
    end

    def define
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mattock-0.2.5 lib/mattock/cascading-definition.rb
mattock-0.2.4 lib/mattock/cascading-definition.rb
mattock-0.2.3 lib/mattock/cascading-definition.rb
mattock-0.2.2 lib/mattock/cascading-definition.rb
mattock-0.2.1 lib/mattock/cascading-definition.rb
mattock-0.2.0 lib/mattock/cascading-definition.rb
mattock-0.1.3 lib/mattock/cascading-definition.rb
mattock-0.1.2 lib/mattock/cascading-definition.rb
mattock-0.1.1 lib/mattock/cascading-definition.rb
mattock-0.1.0 lib/mattock/cascading-definition.rb