Class: Danger::Cmd
- Inherits:
-
Object
- Object
- Danger::Cmd
- Defined in:
- lib/swiftformat/cmd.rb
Class Method Summary collapse
Class Method Details
.run(cmd) ⇒ Object
3 4 5 6 7 |
# File 'lib/swiftformat/cmd.rb', line 3 def self.run(cmd) stdout, _stderr, _status = Open3.capture3(*cmd) stdout.strip end |