Class: Alexandria::SmartLibrary::Rule::Operand
- Inherits:
-
Struct
- Object
- Struct
- Alexandria::SmartLibrary::Rule::Operand
- Defined in:
- 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
303 304 305 |
# File 'lib/alexandria/smart_library.rb', line 303 def klass @klass end |
#name ⇒ Object
Returns the value of attribute name
303 304 305 |
# File 'lib/alexandria/smart_library.rb', line 303 def name @name end |
Instance Method Details
#<=>(x) ⇒ Object
304 305 306 |
# File 'lib/alexandria/smart_library.rb', line 304 def <=>(x) name <=> x.name end |