Sha256: 011c17a6e2b6b7737e4a73de046e7cc9e001a39e2904267de7311293178ccb7f

Contents?: true

Size: 309 Bytes

Versions: 186

Compression:

Stored size: 309 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))

# define a local.
a = "a local variable"

# defing a top-level method.
def hello
  puts "hello world!"
end

# Start pry session at top-level.
# The local variable `a` and the `hello` method will
# be accessible.
puts __LINE__
binding.pry

Version data entries

186 entries across 186 versions & 1 rubygems

Version Path
pry-0.9.10 examples/example_basic.rb
pry-0.9.10-i386-mswin32 examples/example_basic.rb
pry-0.9.10-i386-mingw32 examples/example_basic.rb
pry-0.9.10-java examples/example_basic.rb
pry-0.9.10pre1 examples/example_basic.rb
pry-0.9.10pre1-i386-mswin32 examples/example_basic.rb
pry-0.9.10pre1-i386-mingw32 examples/example_basic.rb
pry-0.9.10pre1-java examples/example_basic.rb
pry-0.10.pre.1-i386-mingw32 examples/example_basic.rb
pry-0.10.pre.1-java examples/example_basic.rb
pry-0.10.pre.1-i386-mswin32 examples/example_basic.rb
pry-0.9.9.6 examples/example_basic.rb
pry-0.9.9.6-i386-mswin32 examples/example_basic.rb
pry-0.9.9.6-i386-mingw32 examples/example_basic.rb
pry-0.9.9.6-java examples/example_basic.rb
pry-0.9.9.6pre2 examples/example_basic.rb
pry-0.9.9.6pre2-i386-mswin32 examples/example_basic.rb
pry-0.9.9.6pre2-i386-mingw32 examples/example_basic.rb
pry-0.9.9.6pre2-java examples/example_basic.rb
pry-0.9.9.6pre1 examples/example_basic.rb