Class: EasyType::Utils::InstancesResults
- Inherits:
-
Hash
- Object
- Hash
- EasyType::Utils::InstancesResults
- Defined in:
- lib/easy_type/utils.rb
Instance Method Summary (collapse)
-
- (Object) column_data(column_name)
Content of the specified key in the Hash.
Instance Method Details
- (Object) column_data(column_name)
Returns content of the specified key in the Hash
15 16 17 18 19 |
# File 'lib/easy_type/utils.rb', line 15 def column_data(column_name) fetch(column_name) do fail "Column #{column_name} not found in results. Results contain #{keys.join(',')}" end end |