Class: Pull::Helper

Inherits:
Object
  • Object
show all
Defined in:
lib/pull/helper.rb

Instance Method Summary collapse

Instance Method Details

#collect(&block) ⇒ Object



17
18
19
# File 'lib/pull/helper.rb', line 17

def collect(&block)
  Pull::Collect.new(&block)
end

#drain(&block) ⇒ Object



13
14
15
# File 'lib/pull/helper.rb', line 13

def drain(&block)
  Pull::Drain.new(&block)
end

#filter(&block) ⇒ Object



25
26
27
# File 'lib/pull/helper.rb', line 25

def filter(&block)
  Pull::Filter.new(&block)
end

#infinityObject



9
10
11
# File 'lib/pull/helper.rb', line 9

def infinity
  Pull::Infinity.new
end

#logObject



33
34
35
# File 'lib/pull/helper.rb', line 33

def log
  Pull::Log.new
end

#map(&block) ⇒ Object



21
22
23
# File 'lib/pull/helper.rb', line 21

def map(&block)
  Pull::Map.new(&block)
end

#take(limit) ⇒ Object



29
30
31
# File 'lib/pull/helper.rb', line 29

def take(limit)
  Pull::Take.new(limit)
end

#values(args) ⇒ Object



5
6
7
# File 'lib/pull/helper.rb', line 5

def values(args)
  Pull::Values.new(args)
end