Sha256: 9376b3eb5c3f35a74e05e499b8a295c0f544993a13db672d20e6758d8f138d67

Contents?: true

Size: 410 Bytes

Versions: 35

Compression:

Stored size: 410 Bytes

Contents

module CFoundry::V1
  class Runtime
    attr_accessor :name, :description, :debug_modes

    def initialize(name, description = nil, debug_modes = nil)
      @name = name
      @description = description
      @debug_modes = debug_modes
    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

35 entries across 35 versions & 2 rubygems

Version Path
cfoundry-0.3.52 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.51 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.50 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.49 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.48 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.47 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.46 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.45 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.44 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.43 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.42 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.41 lib/cfoundry/v1/runtime.rb
cfoundry-IronFoundry-0.3.40 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.40 lib/cfoundry/v1/runtime.rb
cfoundry-IronFoundry-0.3.39 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.39 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.38 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.37 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.36 lib/cfoundry/v1/runtime.rb
cfoundry-0.3.35 lib/cfoundry/v1/runtime.rb