Class: EmberCli::Command
- Inherits:
-
Object
- Object
- EmberCli::Command
- Defined in:
- lib/ember_cli/command.rb
Instance Method Summary collapse
- #build(watch: false) ⇒ Object
-
#initialize(paths:, options: {}) ⇒ Command
constructor
A new instance of Command.
- #test ⇒ Object
Constructor Details
#initialize(paths:, options: {}) ⇒ Command
Returns a new instance of Command.
5 6 7 8 |
# File 'lib/ember_cli/command.rb', line 5 def initialize(paths:, options: {}) @paths = paths = end |
Instance Method Details
#build(watch: false) ⇒ Object
16 17 18 |
# File 'lib/ember_cli/command.rb', line 16 def build(watch: false) ember_build(watch: watch) end |
#test ⇒ Object
10 11 12 13 14 |
# File 'lib/ember_cli/command.rb', line 10 def test line = Terrapin::CommandLine.new(paths.ember, "test --environment test") line.command end |