Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/juxt.rb
Instance Method Summary collapse
- #juxtapose(*args) ⇒ Object (also: #juxt)
Instance Method Details
#juxtapose(*args) ⇒ Object Also known as: juxt
4 5 6 |
# File 'lib/juxt.rb', line 4 def juxtapose(*args) [*args].map{ |x| x.is_a?(Proc) ? x.call(self) : send(x) } end |