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.
- data/lib/arguments.rb +4 -3
- 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.
|
11
|
-
|
12
|
-
|
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
|
|