Class: INotify::Event
- Inherits:
-
Object
- Object
- 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.
193 194 195 196 197 198 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 193 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.
191 192 193 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 191 def @cookie end |
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
191 192 193 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 191 def filename @filename end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
191 192 193 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 191 def path @path end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
191 192 193 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 191 def type @type end |
Instance Method Details
#dump ⇒ Object
200 201 202 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 200 def dump "path: " + @path.to_s + ", filename: " + @filename.to_s + ", type: " + @type.to_s + ", cookie: " + @cookie.to_s end |
#to_s ⇒ Object
204 205 206 |
# File 'lib/vim_mate/plugins/inotify/lib/INotify.rb', line 204 def to_s dump end |