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.



679
680
681
682
683
# File 'lib/main/parameter.rb', line 679

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

Instance Method Details

#to_optionsObject



685
686
687
688
# File 'lib/main/parameter.rb', line 685

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