Method: Specinfra::Command::Base::File.get_content
- Defined in:
- lib/specinfra/command/base/file.rb
permalink .get_content(file) ⇒ Object
[View source]
99 100 101 |
# File 'lib/specinfra/command/base/file.rb', line 99 def get_content(file) "cat #{escape(file)} 2> /dev/null || echo -n" end |