Module: Bushido::Command
- Defined in:
- lib/bushido.rb
Class Method Summary collapse
Class Method Details
.add_domain(name) ⇒ Object
48 49 50 |
# File 'lib/bushido.rb', line 48 def self.add_domain(name) ::Bushido.domains << name end |
.last_command_successful? ⇒ Boolean
44 45 46 |
# File 'lib/bushido.rb', line 44 def self.last_command_successful? ::Bushido.last_command_successful end |
.remove_domain(name) ⇒ Object
52 53 54 |
# File 'lib/bushido.rb', line 52 def self.remove_domain(name) ::Bushido.domains.delete(name) end |