Class: Alexandria::SmartLibrary::Rule::Operator
- Inherits:
-
Struct
- Object
- Struct
- Alexandria::SmartLibrary::Rule::Operator
- Defined in:
- 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
318 319 320 |
# File 'lib/alexandria/smart_library.rb', line 318 def name @name end |
#proc ⇒ Object
Returns the value of attribute proc
318 319 320 |
# File 'lib/alexandria/smart_library.rb', line 318 def proc @proc end |
#sym ⇒ Object
Returns the value of attribute sym
318 319 320 |
# File 'lib/alexandria/smart_library.rb', line 318 def sym @sym end |
Instance Method Details
#<=>(x) ⇒ Object
319 320 321 |
# File 'lib/alexandria/smart_library.rb', line 319 def <=>(x) name <=> x.name end |