Method: Filigree::Configuration::ClassMethods#string_option
- Defined in:
- lib/filigree/configuration.rb
#string_option(long, short = nil) ⇒ void
This method returns an undefined value.
Define an option that takes a single string argument.
310 311 312 |
# File 'lib/filigree/configuration.rb', line 310 def string_option(long, short = nil) option(long, short) { |str| str } end |