lib/ampere/keys.rb in ampere-1.2.1 vs lib/ampere/keys.rb in ampere-1.2.2
- old
+ new
@@ -24,14 +24,10 @@
end
private
def model_name
- if self.class == Class then
- to_s
- else
- self.class.to_s
- end
+ self.class.to_s
end
end
end
\ No newline at end of file