class GLI::CommandLineOption
Public Class Methods
Source
# File lib/gli_patches.rb, line 21 def initialize(names, options = {}) # Disable returning a default for this option (needed for boolean updates) # which should NOT be sent unless added by the user @ignore_default = !!options[:ignore_default] super(names, options[:desc], options[:long_desc]) @default_value = options[:default_value] end
Calls superclass method
Public Instance Methods
Source
# File lib/gli_patches.rb, line 30 def ignore_default? @ignore_default end