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.3.48 lib/cfoundry/v1/framework.rb
cfoundry-0.3.47 lib/cfoundry/v1/framework.rb
cfoundry-0.3.46 lib/cfoundry/v1/framework.rb
cfoundry-0.3.45 lib/cfoundry/v1/framework.rb
cfoundry-0.3.44 lib/cfoundry/v1/framework.rb
cfoundry-0.3.43 lib/cfoundry/v1/framework.rb
cfoundry-0.3.42 lib/cfoundry/v1/framework.rb
cfoundry-0.3.41 lib/cfoundry/v1/framework.rb
cfoundry-IronFoundry-0.3.40 lib/cfoundry/v1/framework.rb
cfoundry-0.3.40 lib/cfoundry/v1/framework.rb
cfoundry-IronFoundry-0.3.39 lib/cfoundry/v1/framework.rb
cfoundry-0.3.39 lib/cfoundry/v1/framework.rb
cfoundry-0.3.38 lib/cfoundry/v1/framework.rb
cfoundry-0.3.37 lib/cfoundry/v1/framework.rb
cfoundry-0.3.36 lib/cfoundry/v1/framework.rb
cfoundry-0.3.35 lib/cfoundry/v1/framework.rb
cfoundry-IronFoundry-0.3.34 lib/cfoundry/v1/framework.rb
cfoundry-0.3.34 lib/cfoundry/v1/framework.rb
cfoundry-0.3.33 lib/cfoundry/v1/framework.rb
cfoundry-0.3.32 lib/cfoundry/v1/framework.rb