Class: Swaggable::TagDefinition
- Inherits:
-
Object
- Object
- Swaggable::TagDefinition
- Includes:
- DefinitionBase
- Defined in:
- lib/swaggable/tag_definition.rb
Instance Method Summary collapse
- #==(other) ⇒ Object (also: #eql?)
- #hash ⇒ Object
Methods included from DefinitionBase
Instance Method Details
#==(other) ⇒ Object Also known as: eql?
12 13 14 |
# File 'lib/swaggable/tag_definition.rb', line 12 def == other self.name == other.name if other.respond_to?(:name) end |
#hash ⇒ Object
17 18 19 |
# File 'lib/swaggable/tag_definition.rb', line 17 def hash name.hash end |