@@ -187,7 +187,7 @@ def option(*options, &block)
187187 self . options [ long . to_s . to_sym ] = value
188188 end
189189 end
190- self . option_parser_commands << [ options , fname ]
190+ option_parser_commands << [ options , fname ]
191191 end
192192
193193 def banner ( banner = nil )
@@ -261,7 +261,7 @@ def find(application_name)
261261 # @param [String] class_name the fully qualified name of the class to try to load
262262 # @return [Class] the Class instance, or nil? if it could not be loaded.
263263 def try_load_class ( class_name )
264- return self . const_defined? ( class_name ) ? const_get ( class_name ) : nil
264+ return const_defined? ( class_name ) ? const_get ( class_name ) : nil
265265 end
266266 private :try_load_class
267267
@@ -553,14 +553,14 @@ def parse_options
553553 self . class . option_parser_commands . each do |options , fname |
554554 option_parser . on ( *options ) do |value |
555555 # Call the method that "option()" created.
556- self . send ( fname , value )
556+ send ( fname , value )
557557 end
558558 end
559559
560560 # Scan command line. We just hand any exceptions to our upper levels,
561561 # rather than printing help and exiting, so that we can meaningfully
562562 # respond with context-sensitive help if we want to. --daniel 2011-04-12
563- option_parser . parse! ( self . command_line . args )
563+ option_parser . parse! ( command_line . args )
564564 end
565565
566566 def handlearg ( opt , val )
0 commit comments