lib/motion-resource/attributes.rb in motion-resource-0.0.2 vs lib/motion-resource/attributes.rb in motion-resource-0.1.0

- old
+ new

@@ -1,7 +1,8 @@ module MotionResource class Base - class_inheritable_array :attributes + class_attribute :attributes + self.attributes = [] class << self def attribute(*fields) attr_reader *fields fields.each do |field|