Module: ROM::Processor::Transproc::Functions
- Extended by:
- Transproc::Registry
- Defined in:
- lib/rom/processor/transproc.rb
Class Method Summary collapse
Class Method Details
.filter_empty(arr) ⇒ Object
29 30 31 |
# File 'lib/rom/processor/transproc.rb', line 29 def self.filter_empty(arr) arr.reject { |row| row.values.all?(&:nil?) } end |
.identity(tuple) ⇒ Object
25 26 27 |
# File 'lib/rom/processor/transproc.rb', line 25 def self.identity(tuple) tuple end |