pry-note 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -5
- data/lib/pry-note/commands.rb +5 -5
- data/lib/pry-note/version.rb +1 -1
- data/pry-note.gemspec +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -3,6 +3,8 @@ Pry-note
|
|
3
3
|
|
4
4
|
__Ease refactoring and exploration by attaching notes to methods and classes in Pry__
|
5
5
|
|
6
|
+
**NOTE: This only works on Pry HEAD currently (v0.9.11+)**
|
7
|
+
|
6
8
|
```
|
7
9
|
[1] pry(main)> note -h
|
8
10
|
add
|
@@ -24,11 +26,11 @@ __Ease refactoring and exploration by attaching notes to methods and classes in
|
|
24
26
|
Usage: note [OPTIONS]
|
25
27
|
Add notes to classes and methods.
|
26
28
|
|
27
|
-
e.g note
|
28
|
-
e.g note
|
29
|
-
e.g note
|
30
|
-
e.g note
|
31
|
-
e.g note
|
29
|
+
e.g note add Pry#repl -m "this is my note" #=> add a note without opening editor
|
30
|
+
e.g note add Pry#repl #=> add a note (with editor) to Pry#repl method
|
31
|
+
e.g note delete Pry#repl:1 #=> delete the 1st note from Pry#repl
|
32
|
+
e.g note delete Pry#repl #=> delete all notes from Pry#repl
|
33
|
+
e.g note list #=> list all notes
|
32
34
|
|
33
35
|
-h, --help Show this message.
|
34
36
|
```
|
data/lib/pry-note/commands.rb
CHANGED
@@ -5,11 +5,11 @@ Pry::Commands.create_command "note" do
|
|
5
5
|
Usage: note [OPTIONS]
|
6
6
|
Add notes to classes and methods.
|
7
7
|
|
8
|
-
e.g note
|
9
|
-
e.g note
|
10
|
-
e.g note
|
11
|
-
e.g note
|
12
|
-
e.g note
|
8
|
+
e.g note add Pry#repl -m "this is my note" #=> add a note without opening editor
|
9
|
+
e.g note add Pry#repl #=> add a note (with editor) to Pry#repl method
|
10
|
+
e.g note delete Pry#repl:1 #=> delete the 1st note from Pry#repl
|
11
|
+
e.g note delete Pry#repl #=> delete all notes from Pry#repl
|
12
|
+
e.g note list #=> list all notes
|
13
13
|
USAGE
|
14
14
|
|
15
15
|
def subcommands(cmd)
|
data/lib/pry-note/version.rb
CHANGED
data/pry-note.gemspec
CHANGED