method
args_and_options
1.1.4 -
Show latest stable
-
0 notes -
Class: Object
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
args_and_options(*args)
public
Hide source
# File lib/spec/extensions/object.rb, line 2 def args_and_options(*args) options = Hash === args.last ? args.pop : {} return args, options end