Module: OptParseBuilder::FormatsOperandName

Included in:
OptionalOperandArgument, RequiredOperandArgument, SplatOperandArgument
Defined in:
lib/opt_parse_builder/formats_operand_name.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#format_operand_name(s) ⇒ Object



4
5
6
# File 'lib/opt_parse_builder/formats_operand_name.rb', line 4

def format_operand_name(s)
  s.to_s.gsub(/_/, " ")
end