Method: Computering::Dsl::Command#execute
- Defined in:
- lib/computering/dsl/command.rb
#execute ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/computering/dsl/command.rb', line 5 def execute @buffer = "\n" Bundler.with_clean_env do @buffer << `#{@text}`.chomp end rescue @buffer << add_style($!., :error) end |