lib/discoverer/model.rb in discoverer-0.0.2 vs lib/discoverer/model.rb in discoverer-0.0.3
- old
+ new
@@ -1,9 +1,9 @@
module Discoverer
# {include:file:docs/Discoverer/Model.md}
class Model
- include Virtus
+ include Virtus.model
include Reader
include Writer
# @!attribute _id
# @return [Object] the id of the object as persisted
@@ -37,6 +37,6 @@
# @return [String] the name of the clasee, downcased and made into a String
def self.downcase
"#{self}".split("::").last.downcase
end
end
-end
\ No newline at end of file
+end