class SoberSwag::Nodes::Object
Objects might have attribute keys, so they're basically a list of attributes.
Public Instance Methods
deconstruct_keys(_)
click to toggle source
@return [Hash{Symbol => Array
<SoberSwag::Nodes::Attribute>}]
the attributes, wrapped in an `attributes:` key.
# File lib/sober_swag/nodes/object.rb, line 10 def deconstruct_keys(_) { attributes: @elements } end