summaryrefslogtreecommitdiff
path: root/lib/options.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-12-08 13:09:34 +0200
committerPaul Buetow <paul@buetow.org>2024-12-08 13:09:34 +0200
commit5897262698ac68a85ad68b69f4f6aeb3171d399a (patch)
treec142930276a262176f160d21abcb35ef698f9cad /lib/options.rb
parented5f36ed3dffbac12247e5130e61d8ebd8ad82f5 (diff)
use of endless methods
Diffstat (limited to 'lib/options.rb')
-rw-r--r--lib/options.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/options.rb b/lib/options.rb
index c3950ca..79e3c51 100644
--- a/lib/options.rb
+++ b/lib/options.rb
@@ -3,9 +3,7 @@ require 'optparse'
module RCM
# Command line options
module Options
- @@options = {
- debug: false
- }
+ @@options = { debug: false }
after_double_dash = ARGV.slice_before('--').to_a.last.drop(1)