diff options
Diffstat (limited to 'lib/pry/code.rb')
-rw-r--r-- | lib/pry/code.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/code.rb b/lib/pry/code.rb index fd49f93f..a5da2de4 100644 --- a/lib/pry/code.rb +++ b/lib/pry/code.rb @@ -291,7 +291,7 @@ class Pry # @param [Integer] line_number (1-based) # @return [String] the code. def expression_at(line_number, consume = 0) - self.class.expression_at(raw, line_number, :consume => consume) + self.class.expression_at(raw, line_number, consume: consume) end # Get the (approximate) Module.nesting at the give line number. |