Class: Babushka::Cmdline

Inherits:
Object show all
Defined in:
lib/babushka/cmdline.rb,
lib/babushka/cmdline/parser.rb,
lib/babushka/cmdline/handler.rb,
lib/babushka/cmdline/helpers.rb

Defined Under Namespace

Classes: Handler, Helpers, Parser

Class Method Summary collapse

Class Method Details

.handle(name, description, &blk) ⇒ Object


6
7
8
# File 'lib/babushka/cmdline/handler.rb', line 6

def self.handle name, description, &blk
  Handler.add name, description, blk
end