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
cfoundry-0.5.1.rc5 lib/cfoundry/v1/framework.rb
cfoundry-0.5.1.rc4 lib/cfoundry/v1/framework.rb
cfoundry-0.5.1.rc3 lib/cfoundry/v1/framework.rb
cfoundry-0.5.1.rc2 lib/cfoundry/v1/framework.rb
cfoundry-0.5.1.rc1 lib/cfoundry/v1/framework.rb
cfoundry-0.4.21 lib/cfoundry/v1/framework.rb
cfoundry-0.5.0 lib/cfoundry/v1/framework.rb
cfoundry-0.4.19 lib/cfoundry/v1/framework.rb
cfoundry-0.4.18 lib/cfoundry/v1/framework.rb
cfoundry-0.4.17 lib/cfoundry/v1/framework.rb
cfoundry-0.4.16 lib/cfoundry/v1/framework.rb
cfoundry-0.4.15 lib/cfoundry/v1/framework.rb
cfoundry-0.4.14 lib/cfoundry/v1/framework.rb
cfoundry-0.4.13 lib/cfoundry/v1/framework.rb
cfoundry-0.4.12 lib/cfoundry/v1/framework.rb
cfoundry-0.4.11 lib/cfoundry/v1/framework.rb
cfoundry-0.4.10 lib/cfoundry/v1/framework.rb
cfoundry-0.4.9 lib/cfoundry/v1/framework.rb
cfoundry-0.4.8 lib/cfoundry/v1/framework.rb
cfoundry-0.4.7 lib/cfoundry/v1/framework.rb