Method: Specinfra::Command::Windows::Base::File.get_content

Defined in:
lib/specinfra/command/windows/base/file.rb

.get_content(file) ⇒ Object

[View source]

45
46
47
# File 'lib/specinfra/command/windows/base/file.rb', line 45

def get_content(file)
  %Q!Get-Content("#{file}") | Out-String!
end