Class: Specinfra::Command::Base::File
- Inherits:
-
Specinfra::Command::Base
- Object
- Specinfra::Command::Base
- Specinfra::Command::Base::File
- Defined in:
- vendor_modules/concat/spec/acceptance/specinfra_stubs.rb
Overview
class Specinfra::Command::Base::File
Class Method Summary collapse
Class Method Details
.get_content(file) ⇒ Object
18 19 20 |
# File 'vendor_modules/concat/spec/acceptance/specinfra_stubs.rb', line 18 def get_content(file) "cat '#{file}' 2> /dev/null || echo -n" end |