lib/claide_completion.rb in claide-completion-1.0.0 vs lib/claide_completion.rb in claide-completion-1.0.1
- old
+ new
@@ -5,10 +5,10 @@
if defined?(mod::DEFAULT_ROOT_OPTIONS)
mod::DEFAULT_ROOT_OPTIONS << [
'--completion-script', 'Print the auto-completion script'
]
end
- mod.prepend(Prepend)
+ mod.send(:prepend, Prepend)
end
module Prepend
def handle_root_options(argv)
return false unless self.class.root_command?