Method: Kernel::Pry#initialize
- Defined in:
- lib/ae/pry.rb
#initialize(&function) ⇒ Pry
instance_methods.each{ |m| private m unless m.to_s =~ /^__/ }
30 31 32 |
# File 'lib/ae/pry.rb', line 30 def initialize(&function) @function = function end |