Sha256: 6cb3730af4e7631ef66043d5d2de72b72b5bf3213392a353f59316426c13467a

Contents?: true

Size: 266 Bytes

Versions: 4

Compression:

Stored size: 266 Bytes

Contents

class EnvironmentFeature < Struct.new(:name, :symbols, :labels, :constrained, :silent)

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

  def constrained?
    constrained == "T"
  end

  def silent?
    silent == "T"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
egor-0.0.2 lib/environment_feature.rb
egor-0.0.4 lib/environment_feature.rb
egor-0.0.3 lib/environment_feature.rb
egor-0.0.5 lib/environment_feature.rb