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.4.6 lib/cfoundry/v1/framework.rb
cfoundry-0.4.5 lib/cfoundry/v1/framework.rb
cfoundry-0.4.4 lib/cfoundry/v1/framework.rb
cfoundry-0.4.3 lib/cfoundry/v1/framework.rb
cfoundry-0.4.2 lib/cfoundry/v1/framework.rb
cfoundry-0.4.1 lib/cfoundry/v1/framework.rb
cfoundry-0.4.0 lib/cfoundry/v1/framework.rb
cfoundry-0.3.61 lib/cfoundry/v1/framework.rb
cfoundry-0.3.60 lib/cfoundry/v1/framework.rb
cfoundry-0.3.59 lib/cfoundry/v1/framework.rb
cfoundry-0.3.58 lib/cfoundry/v1/framework.rb
cfoundry-0.3.57 lib/cfoundry/v1/framework.rb
cfoundry-0.3.56 lib/cfoundry/v1/framework.rb
cfoundry-0.3.55 lib/cfoundry/v1/framework.rb
cfoundry-0.3.54 lib/cfoundry/v1/framework.rb
cfoundry-0.3.53 lib/cfoundry/v1/framework.rb
cfoundry-0.3.52 lib/cfoundry/v1/framework.rb
cfoundry-0.3.51 lib/cfoundry/v1/framework.rb
cfoundry-0.3.50 lib/cfoundry/v1/framework.rb
cfoundry-0.3.49 lib/cfoundry/v1/framework.rb