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
282 283 284 |
# File 'lib/alexandria/smart_library.rb', line 282 def name @name end |
#proc ⇒ Object
Returns the value of attribute proc
282 283 284 |
# File 'lib/alexandria/smart_library.rb', line 282 def proc @proc end |
#sym ⇒ Object
Returns the value of attribute sym
282 283 284 |
# File 'lib/alexandria/smart_library.rb', line 282 def sym @sym end |
Instance Method Details
#<=>(other) ⇒ Object
284 285 286 |
# File 'lib/alexandria/smart_library.rb', line 284 def <=>(other) name <=> other.name end |