Class: Kuby::Commands
- Inherits:
-
Object
- Object
- Kuby::Commands
- Extended by:
- GLI::App, T::Sig
- Defined in:
- lib/kuby/commands.rb
Class Method Summary collapse
Class Method Details
.must_be_dev_env! ⇒ Object
40 41 42 43 44 |
# File 'lib/kuby/commands.rb', line 40 def self.must_be_dev_env! unless Kuby.environment.development? fail "Command not supported in the '#{Kuby.environment.name}' environment" end end |
.tasks ⇒ Object
35 36 37 |
# File 'lib/kuby/commands.rb', line 35 def self.tasks Kuby::Tasks.new(Kuby.environment) end |