Sha256: 32a24db2652d0bcfed1eab1d7cbc66eddde4ed4275f3411e99a7a900ad93736a

Contents?: true

Size: 504 Bytes

Versions: 8

Compression:

Stored size: 504 Bytes

Contents

module Ulla
  class EnvironmentFeature

    attr_accessor :name, :symbols, :labels, :constrained, :silent

    def initialize(name, symbols, labels, constrained, silent)
      @name = name
      @symbols = symbols
      @labels = labels
      @constrained = constrained
      @silent = silent
    end

    def to_s
      [name, symbols.join, labels.join, constrained, silent].join(";")
    end

    def constrained?
      constrained == "T"
    end

    def silent?
      silent == "T"
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
semin-ulla-0.9.3 lib/ulla/environment_feature.rb
semin-ulla-0.9.4 lib/ulla/environment_feature.rb
semin-ulla-0.9.5 lib/ulla/environment_feature.rb
semin-ulla-0.9.6 lib/ulla/environment_feature.rb
ulla-0.9.4 lib/ulla/environment_feature.rb
ulla-0.9.3 lib/ulla/environment_feature.rb
ulla-0.9.5 lib/ulla/environment_feature.rb
ulla-0.9.6 lib/ulla/environment_feature.rb