Class: TmsuRuby::TmsuFile

Inherits:
Object
  • Object
show all
Includes:
TmsuFileAPI
Defined in:
lib/tmsu_file_db.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from TmsuFileAPI

#build_tag_arg, #files, #merge_tag, #persisted?, #require_persisted, #tag, #tag_selector, #tags, #untag, #untag_selector

Constructor Details

#initialize(path) ⇒ TmsuFile

Returns a new instance of TmsuFile.



359
360
361
# File 'lib/tmsu_file_db.rb', line 359

def initialize path
  @path = path || "."
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



358
359
360
# File 'lib/tmsu_file_db.rb', line 358

def path
  @path
end