Class: IntegrationTestKit::Registry

Inherits:
Object
  • Object
show all
Defined in:
lib/integration_test_kit/registry.rb

Instance Method Summary collapse

Instance Method Details

#command(name, &block) ⇒ Object



5
6
7
# File 'lib/integration_test_kit/registry.rb', line 5

def command(name, &block)
  IntegrationTestKit.commands[name.to_sym] = block
end