Class: SetupConfiguration::SoftwareOptions

Inherits:
Object
  • Object
show all
Includes:
BinaryCodedValues
Defined in:
lib/setup_configuration/setup_config.rb

Constant Summary collapse

OPTIONS =
{:do_not_copy => 1, :needs_licence => 2}

Instance Method Summary collapse

Methods included from BinaryCodedValues

#number, #pretty, #value

Instance Method Details

#compute_options(number) ⇒ Object

TODO check for maximum and raise error



283
284
285
# File 'lib/setup_configuration/setup_config.rb', line 283

def compute_options(number)
  value(number)
end

#valuesObject



278
279
280
# File 'lib/setup_configuration/setup_config.rb', line 278

def values
  OPTIONS
end