Method: Bank::CollectionConfig#columns_of_type
- Defined in:
- lib/bank/collection_config.rb
#columns_of_type(type) ⇒ Object
42 43 44 |
# File 'lib/bank/collection_config.rb', line 42 def columns_of_type(type) columns.select { |col, opts| opts[:type] == type } end |