module Augmented::Symbols::Arguable

Public Instance Methods

with(*args, &block) click to toggle source

credit to Uri Agassi: stackoverflow.com/a/23711606/2792897

# File lib/augmented/symbols/arguable.rb, line 7
def with *args, &block
  -> caller, *rest { caller.__send__ self, *rest, *args, &block }
end