Module: ShellOpts::Utils
- Defined in:
- lib/shellopts/utils.rb
Overview
Use ‘include ShellOpts::Utils` to include ShellOpts utility methods in the global namespace
Instance Method Summary collapse
-
#error(*msgs) ⇒ Object
Forwards to ‘ShellOpts.error`.
-
#fail(*msgs) ⇒ Object
Forwards to ‘ShellOpts.fail`.
Instance Method Details
#error(*msgs) ⇒ Object
Forwards to ‘ShellOpts.error`
7 8 9 |
# File 'lib/shellopts/utils.rb', line 7 def error(*msgs) ::ShellOpts.error(*msgs) end |
#fail(*msgs) ⇒ Object
Forwards to ‘ShellOpts.fail`
12 13 14 |
# File 'lib/shellopts/utils.rb', line 12 def fail(*msgs) ::ShellOpts.fail(*msgs) end |