lib/elephas/backends/base.rb in elephas-3.0.1 vs lib/elephas/backends/base.rb in elephas-4.0.0
- old
+ new
@@ -54,11 +54,11 @@
end
private
# Marks a method as unimplemented.
def unimplemented
- self.i18n_setup(:elephas, ::File.absolute_path(::Pathname.new(::File.dirname(__FILE__)).to_s + "/../../../locales/")) if !@i18n
- raise ArgumentError.new(self.i18n.unimplemented)
+ i18n_setup(:elephas, ::File.absolute_path(::Pathname.new(::File.dirname(__FILE__)).to_s + "/../../../locales/")) if !@i18n
+ raise ArgumentError.new(i18n.unimplemented)
end
end
end
end
\ No newline at end of file