class FireflyServer::FileWatcher::ChangeEvent
Constants
- CATEGORIES
Public Class Methods
new(params)
click to toggle source
# File lib/firefly_server/file_watcher.rb, line 57 def initialize(params) params.each do |key, value| send("#{key}=", value) end end
Public Instance Methods
to_h()
click to toggle source
# File lib/firefly_server/file_watcher.rb, line 68 def to_h CATEGORIES.map { |category| [category.to_sym, send(category)] }.to_h end