Module: Fairy::GroupBy::Interface

Defined in:
lib/fairy/client/group-by.rb

Instance Method Summary collapse

Instance Method Details

#group_by(hash_block, opts = nil) ⇒ Object



13
14
15
16
17
18
# File 'lib/fairy/client/group-by.rb', line 13

def group_by(hash_block, opts = nil)
	hash_block = BlockSource.new(hash_block) 
	mod_group_by = GroupBy.new(@fairy, opts, hash_block)
	mod_group_by.input = self
	mod_group_by
end