Class: Symbol

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

Overview

monkey-patching these to allow ‘RustyKey.using`

Instance Method Summary collapse

Instance Method Details

#usingObject



15
16
17
18
19
# File 'lib/rusty_key.rb', line 15

def using
  b = binding.of_caller(1)
  b.eval("using #{self}")
  b
end