lib/kattr/accessor.rb in kattr-0.0.1 vs lib/kattr/accessor.rb in kattr-0.0.2
- old
+ new
@@ -1,8 +1,8 @@
require_relative './writer'
require_relative './reader'
-class Class
+module KAttr
def kattr_accessor(*syms)
kattr_writer(*syms)
kattr_reader(*syms)
end
alias_method :cattr_accessor, :kattr_accessor