Class: Main::Parameter::Table
Defined Under Namespace
Modules: BoundsCheck
Instance Method Summary collapse
-
#initialize ⇒ Table
constructor
A new instance of Table.
- #to_options ⇒ Object
Constructor Details
#initialize ⇒ Table
Returns a new instance of Table.
715 716 717 718 719 |
# File 'lib/main/parameter.rb', line 715 def initialize super() self.fields = [] extend BoundsCheck end |
Instance Method Details
#to_options ⇒ Object
721 722 723 724 |
# File 'lib/main/parameter.rb', line 721 def (hash = self.to_hash ).keys.each { |key| hash[key] = hash[key].value } return hash end |