Class: EnvironmentFeature

Inherits:
Struct
  • Object
show all
Defined in:
lib/environment_feature.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#constrainedObject

Returns the value of attribute constrained

Returns:

  • (Object)

    the current value of constrained



1
2
3
# File 'lib/environment_feature.rb', line 1

def constrained
  @constrained
end

#labelsObject

Returns the value of attribute labels

Returns:

  • (Object)

    the current value of labels



1
2
3
# File 'lib/environment_feature.rb', line 1

def labels
  @labels
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



1
2
3
# File 'lib/environment_feature.rb', line 1

def name
  @name
end

#silentObject

Returns the value of attribute silent

Returns:

  • (Object)

    the current value of silent



1
2
3
# File 'lib/environment_feature.rb', line 1

def silent
  @silent
end

#symbolsObject

Returns the value of attribute symbols

Returns:

  • (Object)

    the current value of symbols



1
2
3
# File 'lib/environment_feature.rb', line 1

def symbols
  @symbols
end

Instance Method Details

#constrained?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/environment_feature.rb', line 7

def constrained?
  constrained == "T"
end

#silent?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/environment_feature.rb', line 11

def silent?
  silent == "T"
end

#to_sObject



3
4
5
# File 'lib/environment_feature.rb', line 3

def to_s
  values.join(";")
end