Class: Main::Parameter::Table

Inherits:
Array
  • Object
show all
Defined in:
lib/main/parameter.rb

Defined Under Namespace

Modules: BoundsCheck

Instance Method Summary collapse

Constructor Details

#initializeTable

Returns a new instance of Table.



713
714
715
716
717
# File 'lib/main/parameter.rb', line 713

def initialize
  super()
  self.fields = []
  extend BoundsCheck
end

Instance Method Details

#to_optionsObject



719
720
721
722
# File 'lib/main/parameter.rb', line 719

def to_options
  (hash = self.to_hash ).keys.each { |key| hash[key] = hash[key].value }
  return hash
end