rdp-arguments 0.6.3 → 0.6.4

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/arguments.rb +4 -3
  2. metadata +1 -1
data/lib/arguments.rb CHANGED
@@ -7,9 +7,10 @@ require 'arguments/class'
7
7
  RUBY_VERSION.to_f >= 1.9 ? require( 'arguments/vm' ) : require( 'arguments/mri' )
8
8
 
9
9
  module Arguments
10
- VERSION = '0.6.1'
11
-
12
- def self.names klass, method, am_self
10
+ VERSION = '0.6.4'
11
+
12
+ # am_self is needed to be set for 1.9 and self.whataever methods
13
+ def self.names klass, method, am_self = false
13
14
  args = ast_for_method(klass, method, am_self).assoc(:args)
14
15
  args = args[1..-1]
15
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdp-arguments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Macario Ortega, rogerdpack