Method: ActiveCMIS::Type::ClassMethods#attributes
- Defined in:
- lib/active_cmis/type.rb
#attributes(inherited = false) ⇒ {String => PropertyDefinition}
Returns A list of propery definitions for all properties on the type.
77 78 79 80 81 82 83 84 |
# File 'lib/active_cmis/type.rb', line 77 def attributes(inherited = false) load_from_data unless defined?(@attributes) if inherited && superclass.respond_to?(:attributes) super.merge(@attributes) else @attributes end end |