Sha256: 7288627ad5bdc467366fb9f95384f19a7ca7edf99f5f5e18cce966a1fcfde5b3

Contents?: true

Size: 457 Bytes

Versions: 111

Compression:

Stored size: 457 Bytes

Contents

module CFoundry::V1
  class Framework
    attr_accessor :name, :description, :runtimes, :detection

    def initialize(name, description = nil, runtimes = [], detection = nil)
      @name = name
      @description = description
      @runtimes = runtimes
      @detection = detection
    end

    def eql?(other)
      other.is_a?(self.class) && other.name == @name
    end
    alias :== :eql?

    def apps
      [] # not supported by v1
    end
  end
end

Version data entries

111 entries across 111 versions & 4 rubygems

Version Path
cloulu-1.0.0 lib/cfoundry/v1/framework.rb
cloulu-0.7.0 lib/cfoundry/v1/framework.rb
cloulu-0.6.6 lib/cfoundry/v1/framework.rb
cloulu-0.6.5 lib/cfoundry/v1/framework.rb
cloulu-0.6.1 lib/cfoundry/v1/framework.rb
cloulu-0.6.0 lib/cfoundry/v1/framework.rb
cloulu-0.5.1 lib/cfoundry/v1/framework.rb
cloulu-0.5.0 lib/cfoundry/v1/framework.rb
cloulu-0.3.0 lib/cfoundry/v1/framework.rb
cloulu-0.2.6 lib/cfoundry/v1/framework.rb
cloulu-0.2.5 lib/cfoundry/v1/framework.rb
cloulu-0.2.4 lib/cfoundry/v1/framework.rb
cloulu-0.2.3 lib/cfoundry/v1/framework.rb
cloulu-0.2.1 lib/cfoundry/v1/framework.rb
cloulu-0.2.0 lib/cfoundry/v1/framework.rb
cloulu-0.1.6 lib/cfoundry/v1/framework.rb
cloulu-0.1.5 lib/cfoundry/v1/framework.rb
cloulu-0.1.2 lib/cfoundry/v1/framework.rb
cloulu-0.1.1 lib/cfoundry/v1/framework.rb
static-1.0.3 vendor/cfoundry-0.5.2/lib/cfoundry/v1/framework.rb