Class: MacosTags::TagParser
- Inherits:
-
Object
- Object
- MacosTags::TagParser
- Defined in:
- lib/macos-tags.rb
Instance Attribute Summary collapse
-
#plist ⇒ Object
readonly
Returns the value of attribute plist.
-
#xattr ⇒ Object
readonly
Returns the value of attribute xattr.
Instance Method Summary collapse
-
#initialize(file) ⇒ TagParser
constructor
A new instance of TagParser.
- #tags ⇒ Object
Constructor Details
#initialize(file) ⇒ TagParser
Returns a new instance of TagParser.
117 118 119 120 |
# File 'lib/macos-tags.rb', line 117 def initialize(file) @xattr = Xattr.new(file) @plist = CFPropertyList::List.new end |
Instance Attribute Details
#plist ⇒ Object (readonly)
Returns the value of attribute plist.
116 117 118 |
# File 'lib/macos-tags.rb', line 116 def plist @plist end |
#xattr ⇒ Object (readonly)
Returns the value of attribute xattr.
116 117 118 |
# File 'lib/macos-tags.rb', line 116 def xattr @xattr end |