Class: TmsuRuby::TmsuFile
- Inherits:
-
Object
- Object
- TmsuRuby::TmsuFile
- Includes:
- TmsuFileAPI
- Defined in:
- lib/tmsu_file_db.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ TmsuFile
constructor
A new instance of TmsuFile.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
358 359 360 |
# File 'lib/tmsu_file_db.rb', line 358 def path @path end |