Module: FMS::CmdLine::MethodParser
- Defined in:
- lib/fms/cmdline.rb
Class Method Summary collapse
Class Method Details
.parse(argv) ⇒ Object
39 40 41 42 43 44 |
# File 'lib/fms/cmdline.rb', line 39 def parse(argv) method = argv.shift return nil unless method return nil unless /^[a-z_]+$/.match(method) method end |