class Niman::Library::File

Public Instance Methods

description() click to toggle source
# File lib/niman/library/file.rb, line 19
def description
  "File #{path}"
end
errors() click to toggle source
# File lib/niman/library/file.rb, line 15
def errors
  ['file path must not be nil and empty']
end
valid?() click to toggle source
# File lib/niman/library/file.rb, line 11
def valid?
  !self.path.nil? && !self.path.empty?
end