Method: StorageRoom::Accessors::ClassMethods#attribute_options_including_superclasses

Defined in:
lib/storage_room/accessors.rb

#attribute_options_including_superclassesObject



88
89
90
91
92
93
# File 'lib/storage_room/accessors.rb', line 88

def attribute_options_including_superclasses
  hash = attribute_options.dup
  hash.merge!(superclass.attribute_options_including_superclasses) if superclass.respond_to?(:attribute_options_including_superclasses)

  hash
end