Class: ShoulderTap::CLI
- Inherits:
-
Object
- Object
- ShoulderTap::CLI
- Defined in:
- lib/shouldertap/cli.rb
Instance Method Summary collapse
-
#initialize(arguments, tap_output) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(arguments, tap_output) ⇒ CLI
Returns a new instance of CLI.
9 10 11 12 |
# File 'lib/shouldertap/cli.rb', line 9 def initialize(arguments, tap_output) @arguments = arguments @tap_output = tap_output end |
Instance Method Details
#run ⇒ Object
14 15 16 17 |
# File 'lib/shouldertap/cli.rb', line 14 def run testsuite = ShoulderTap::Testsuite.new @tap_output ShoulderTap::Notification.new(testsuite, [:name]).send end |