Class: Yobi::FindMatch
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Yobi::FindMatch
- Defined in:
- lib/yobi/repository/find.rb,
sig/yobi.rbs
Overview
One matched file/directory from a Repository#find call.
Instance Method Summary collapse
- #atime ⇒ Time
- #ctime ⇒ Time
- #gid ⇒ Integer
- #group ⇒ String
- #inode ⇒ Integer
- #mtime ⇒ Time
- #path ⇒ String
- #permissions ⇒ String
- #size ⇒ Integer
- #type ⇒ String
- #uid ⇒ Integer
- #user ⇒ String
Instance Method Details
#atime ⇒ Time
106 107 108 |
# File 'lib/yobi/repository/find.rb', line 106 def atime @atime ||= Time.parse(self["atime"]) end |
#ctime ⇒ Time
111 112 113 |
# File 'lib/yobi/repository/find.rb', line 111 def ctime @ctime ||= Time.parse(self["ctime"]) end |
#gid ⇒ Integer
81 82 83 |
# File 'lib/yobi/repository/find.rb', line 81 def gid self["gid"] end |
#group ⇒ String
91 92 93 |
# File 'lib/yobi/repository/find.rb', line 91 def group self["group"] end |
#inode ⇒ Integer
96 97 98 |
# File 'lib/yobi/repository/find.rb', line 96 def inode self["inode"] end |
#mtime ⇒ Time
101 102 103 |
# File 'lib/yobi/repository/find.rb', line 101 def mtime @mtime ||= Time.parse(self["mtime"]) end |
#path ⇒ String
56 57 58 |
# File 'lib/yobi/repository/find.rb', line 56 def path self["path"] end |
#permissions ⇒ String
71 72 73 |
# File 'lib/yobi/repository/find.rb', line 71 def self["permissions"] end |
#size ⇒ Integer
66 67 68 |
# File 'lib/yobi/repository/find.rb', line 66 def size self["size"] end |
#type ⇒ String
61 62 63 |
# File 'lib/yobi/repository/find.rb', line 61 def type self["type"] end |
#uid ⇒ Integer
76 77 78 |
# File 'lib/yobi/repository/find.rb', line 76 def uid self["uid"] end |
#user ⇒ String
86 87 88 |
# File 'lib/yobi/repository/find.rb', line 86 def user self["user"] end |