Module: Hello::Utils
- Defined in:
- lib/hello/utils.rb,
lib/hello/utils/device_name.rb
Defined Under Namespace
Classes: DeviceName
Class Method Summary collapse
Class Method Details
.trailing_options(args) ⇒ Object
6 7 8 9 |
# File 'lib/hello/utils.rb', line 6 def self.(args) = args.last.is_a?(Hash) ? args.pop : {} [, args] end |