Class: Secret::Schema
- Inherits:
-
Object
- Object
- Secret::Schema
- Defined in:
- lib/libsecret/schema.rb
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/libsecret/schema.rb', line 20 def attributes attrs = {} attributes_raw.each do |attribute| name = attribute.name break if name.nil? attrs[name] = attribute.type end attrs end |
#attributes_raw ⇒ Object
19 |
# File 'lib/libsecret/schema.rb', line 19 alias_method :attributes_raw, :attributes |