Class: Specinfra::Backend::Docker
- Defined in:
- lib/itamae/ext/specinfra.rb
Instance Method Summary collapse
Instance Method Details
#receive_file(from, to = nil) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/itamae/ext/specinfra.rb', line 22 def receive_file(from, to = nil) if to send_file(from, to) else run_command("cat #{from}").stdout end end |