Class: EasyType::Helpers::InstancesResults
- Inherits:
-
Hash
- Object
- Hash
- EasyType::Helpers::InstancesResults
- Defined in:
- lib/easy_type/helpers.rb
Overview
TODO: Add documentation
Instance Method Summary collapse
-
#column_data(column_name) ⇒ Object
rubocop:disable LineLength.
Instance Method Details
#column_data(column_name) ⇒ Object
rubocop:disable LineLength
Hash
32 33 34 35 36 |
# File 'lib/easy_type/helpers.rb', line 32 def column_data(column_name) fetch(column_name) do fail "Column #{column_name} not found in results. Results contain #{keys.join(',')}" end end |