lib/device.rb in narou-1.3.2 vs lib/device.rb in narou-1.3.3

- old
+ new

@@ -14,15 +14,15 @@ else require_relative "device/library/linux" extend Device::Library::Linux end - require_relative "device/kindle" - require_relative "device/kobo" - attr_reader :name, :ebook_file_ext - DEVICES = { "kindle" => Kindle, "kobo" => Kobo } + require_relative "device/kindle" + require_relative "device/kobo" + require_relative "device/reader" + DEVICES = { "kindle" => Kindle, "kobo" => Kobo, "reader" => Reader } class UnknownDevice < StandardError; end def self.exists?(device) DEVICES.include?(device.downcase)