Class: EasyType::Helpers::InstancesResults
- Inherits:
-
Hash
- Object
- Hash
- EasyType::Helpers::InstancesResults
- Defined in:
- lib/easy_type/helper.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
16 17 18 19 20 |
# File 'lib/easy_type/helper.rb', line 16 def column_data(column_name) fetch(column_name) do fail "Column #{column_name} not found in results. Results contain #{keys.join(',')}" end end |