Module: Gemmy::Patches::SymbolPatch::InstanceMethods::Call

Defined in:
lib/gemmy/patches/symbol_patch.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

._call(sym, *args, &blk) ⇒ Object



15
16
17
# File 'lib/gemmy/patches/symbol_patch.rb', line 15

def self._call(sym, *args, &blk)
  sym.call *args, &blk
end

Instance Method Details

#call(*args, &blk) ⇒ Object



12
13
14
# File 'lib/gemmy/patches/symbol_patch.rb', line 12

def call(*args, &blk)
  Gemmy.patch("symbol/i/call")._call self, *args, &blk
end