Skip to content

Commit

Permalink
Merge pull request #4 from jamesfischer8/pry-ext-default-options-param
Browse files Browse the repository at this point in the history
Add default argument for Pry#initialize extension
  • Loading branch information
gsamokovarov authored Aug 15, 2020
2 parents 03b433b + 8685307 commit fb1e8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/break/pry/extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Break::Pry
module PryExtensions
attr_accessor :__break_session__

def initialize(options)
def initialize(options = {})
super(options)

@__break_session__ = options[:__break_session__]
Expand Down

0 comments on commit fb1e8d8

Please sign in to comment.