Class: Specinfra::Command::Base::File

Inherits:
Specinfra::Command::Base
  • Object
show all
Defined in:
lib/extension/specinfra/command/base/file.rb

Class Method Summary collapse

Class Method Details

.check_is_text(file) ⇒ Object



3
4
5
# File 'lib/extension/specinfra/command/base/file.rb', line 3

def check_is_text(file)
  "file #{escape(file)} | egrep ' text$'"
end