Class: Proc

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

Instance Method Summary collapse

Instance Method Details

#*(other) ⇒ Object



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

def *(other)
  Funkify.compose(self, other)
end

#>=(other) ⇒ Object



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

def >=(other)
  other.(*self.())
end

#|(other) ⇒ Object



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

def |(other)
  Funkify.compose(other, self)
end