Class: Alexandria::SmartLibrary::Rule::Operator
- Inherits:
-
Struct
- Object
- Struct
- Alexandria::SmartLibrary::Rule::Operator
- Defined in:
- lib/alexandria/smart_library.rb,
lib/alexandria/smart_library.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#proc ⇒ Object
Returns the value of attribute proc.
-
#sym ⇒ Object
Returns the value of attribute sym.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
284 285 286 |
# File 'lib/alexandria/smart_library.rb', line 284 def name @name end |
#proc ⇒ Object
Returns the value of attribute proc
284 285 286 |
# File 'lib/alexandria/smart_library.rb', line 284 def proc @proc end |
#sym ⇒ Object
Returns the value of attribute sym
284 285 286 |
# File 'lib/alexandria/smart_library.rb', line 284 def sym @sym end |
Instance Method Details
#<=>(other) ⇒ Object
286 287 288 |
# File 'lib/alexandria/smart_library.rb', line 286 def <=>(other) name <=> other.name end |