Method: Pry::Code::LOC#initialize
- Defined in:
- lib/pry/code/loc.rb
#initialize(line, lineno) ⇒ LOC
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of LOC.
29 30 31 |
# File 'lib/pry/code/loc.rb', line 29 def initialize(line, lineno) @tuple = [line.chomp, lineno.to_i] end |