Sha256: 89678be330e1c25b55e221e8e5f7f836502a751748f38e95701ef1c6b226b169
Contents?: true
Size: 648 Bytes
Versions: 2
Compression:
Stored size: 648 Bytes
Contents
module IrbHacks #:nodoc: module CoreExtensions #:nodoc: module Kernel #:nodoc: module SingletonMethods # Run code snippet. # See <tt>IrbHacks::Snippet.run</tt>. def a(*args, &block) IrbHacks::Snippet.run(*args, &block) end # Edit code snippet. # See <tt>IrbHacks::Snippet.edit</tt>. def ae(*args) IrbHacks::Snippet.edit(*args) end end ::Kernel.extend SingletonMethods end end end module Kernel #:nodoc: private def a(*args, &block) ::Kernel.a(*args, &block) end def ae(*args) ::Kernel.ae(*args) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
irb_hacks-0.1.1 | lib/irb_hacks/core_ext/kernel/a_and_ae.rb |
irb_hacks-0.1.0 | lib/irb_hacks/core_ext/kernel/a_and_ae.rb |