method_match 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,6 +55,8 @@ module MethodMatch
55
55
 
56
56
  def get_method_match
57
57
  File.readlines(name).first(line).reverse.grep(/ def/).first
58
+ rescue
59
+ return nil
58
60
  end
59
61
  end
60
62
  end
@@ -1,3 +1,3 @@
1
1
  module MethodMatch
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: method_match
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tomasz Tokarski
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-27 00:00:00.000000000 Z
12
+ date: 2012-12-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime