Sha256: 8560e53469a3642685ef31c15473833db329692011006214d39b62b9459d3baa

Contents?: true

Size: 630 Bytes

Versions: 73

Compression:

Stored size: 630 Bytes

Contents

require 'contracts'

module PkgForge
  ##
  # Starter Forge object
  class Forge
    include Contracts::Core
    include Contracts::Builtin

    Contract Maybe[HashOf[Symbol => Any]] => nil
    def initialize(params = {})
      @options = params
      nil
    end
  end

  ##
  # Base engine structure
  class Base
    include Contracts::Core
    include Contracts::Builtin

    Contract PkgForge::Forge => nil
    def initialize(forge)
      @forge = forge
      nil
    end
  end

  module DSL
    class Forge < PkgForge::Base
    end

    class Build < PkgForge::Base
    end

    class Test < PkgForge::Base
    end
  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
pkgforge-0.29.1 lib/pkgforge/base.rb
pkgforge-0.29.0 lib/pkgforge/base.rb
pkgforge-0.28.0 lib/pkgforge/base.rb
pkgforge-0.27.0 lib/pkgforge/base.rb
pkgforge-0.26.0 lib/pkgforge/base.rb
pkgforge-0.25.1 lib/pkgforge/base.rb
pkgforge-0.25.0 lib/pkgforge/base.rb
pkgforge-0.24.1 lib/pkgforge/base.rb
pkgforge-0.24.0 lib/pkgforge/base.rb
pkgforge-0.23.2 lib/pkgforge/base.rb
pkgforge-0.23.1 lib/pkgforge/base.rb
pkgforge-0.23.0 lib/pkgforge/base.rb
pkgforge-0.22.0 lib/pkgforge/base.rb
pkgforge-0.21.0 lib/pkgforge/base.rb
pkgforge-0.20.0 lib/pkgforge/base.rb
pkgforge-0.19.0 lib/pkgforge/base.rb
pkgforge-0.18.0 lib/pkgforge/base.rb
pkgforge-0.17.0 lib/pkgforge/base.rb
pkgforge-0.16.1 lib/pkgforge/base.rb
pkgforge-0.16.0 lib/pkgforge/base.rb