Class: Alexandria::SmartLibrary::Rule::Operand
- Inherits:
-
Struct
- Object
- Struct
- Alexandria::SmartLibrary::Rule::Operand
- Defined in:
- lib/alexandria/smart_library.rb,
lib/alexandria/smart_library.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#klass ⇒ Object
Returns the value of attribute klass.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#klass ⇒ Object
Returns the value of attribute klass
266 267 268 |
# File 'lib/alexandria/smart_library.rb', line 266 def klass @klass end |
#name ⇒ Object
Returns the value of attribute name
266 267 268 |
# File 'lib/alexandria/smart_library.rb', line 266 def name @name end |
Instance Method Details
#<=>(other) ⇒ Object
268 269 270 |
# File 'lib/alexandria/smart_library.rb', line 268 def <=>(other) name <=> other.name end |