lib/materialize/repo.rb in materialize-0.2.6 vs lib/materialize/repo.rb in materialize-0.3.0
- old
+ new
@@ -1,7 +1,8 @@
module Materialize
class Repo
+ include Utils
attr_reader :token
def initialize(token = nil)
@token = token
@@ -68,16 +69,9 @@
else
data_source_class.send(query, token, args_to_pass)
end
end
- end
-
- def class_exists?(class_name)
- klass = Module.const_get(class_name)
- return klass.is_a?(Class)
- rescue NameError
- return false
end
end
end