Class: INotify::Event
- Defined in:
- lib/vim_mate/plugins/inotify/lib/INotify.rb
Instance Attribute Summary collapse
-
#cookie ⇒ Object
readonly
Returns the value of attribute cookie.
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #dump ⇒ Object
-
#initialize(path, filename, type, cookie) ⇒ Event
constructor
A new instance of Event.
- #to_s ⇒ Object
Constructor Details
#initialize(path, filename, type, cookie) ⇒ Event
Returns a new instance of Event.
191 192 193 194 195 196 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 191 def initialize (path, filename, type, ) @path = path @filename = filename @type = type @cookie = end |
Instance Attribute Details
#cookie ⇒ Object (readonly)
Returns the value of attribute cookie.
189 190 191 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 189 def @cookie end |
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
189 190 191 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 189 def filename @filename end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
189 190 191 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 189 def path @path end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
189 190 191 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 189 def type @type end |
Instance Method Details
#dump ⇒ Object
198 199 200 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 198 def dump "path: " + @path.to_s + ", filename: " + @filename.to_s + ", type: " + @type.to_s + ", cookie: " + @cookie.to_s end |
#to_s ⇒ Object
202 203 204 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 202 def to_s dump end |