pry-note 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/pry-note.rb CHANGED
@@ -70,7 +70,7 @@ Pry::Commands.create_command "note" do
70
70
  meth = Pry::Method.from_binding(target)
71
71
  if internal_binding?(target) || !meth
72
72
  obj = target.eval("self")
73
- obj_name = o.is_a?(Module) ? obj.name : obj.class.name
73
+ obj_name = obj.is_a?(Module) ? obj.name : obj.class.name
74
74
  add_note(obj_name)
75
75
  else
76
76
  add_note(meth.name_with_owner)
@@ -1,3 +1,3 @@
1
1
  module PryNote
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-note
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: