pry-syntax-hacks 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/pry-syntax-hacks.rb +1 -1
  2. metadata +3 -3
@@ -6,6 +6,6 @@ class Pry
6
6
 
7
7
  val.gsub(/\.(@[a-z0-9_]+)/, '.instance_variable_get("\1")').
8
8
  gsub(/\.:([a-z0-9_]+[?!]?)/, '.method(:\1)').
9
- gsub(/\.!([a-z0-9_]+[?!]?)([ \(])(?=(.*))/) { ".send#{$2}:#{$1}#{$3 == ""?"":","}".tap &method(:puts) }
9
+ gsub(/\.!([a-z0-9_]+[?!]?)([ \(])(?=(.*))/) { ".send#{$2}:#{$1}#{$3 == ""?"":","}" }
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-syntax-hacks
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Conrad Irwin