Class: Module
Overview
class Object
def attributes *a, &b
sc =
class << self
self
end
sc.attributes *a, &b
end
%w( __attributes__ __attribute__ attribute ).each{|dst| alias_method dst, 'attributes'}
end
class Object
def attributes *a, &b
sc =
class << self
self
end
sc.attributes *a, &b
end
%w( __attributes__ __attribute__ attribute ).each{|dst| alias_method dst, 'attributes'}
end