Class: Trestle::Navigation::NullGroup
- Inherits:
-
Object
- Object
- Trestle::Navigation::NullGroup
- Defined in:
- lib/trestle/navigation/group.rb
Instance Method Summary collapse
- #<=>(other) ⇒ Object
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
- #id ⇒ Object
- #present? ⇒ Boolean
Instance Method Details
#<=>(other) ⇒ Object
70 71 72 |
# File 'lib/trestle/navigation/group.rb', line 70 def <=>(other) -1 end |
#==(other) ⇒ Object
54 55 56 |
# File 'lib/trestle/navigation/group.rb', line 54 def ==(other) other.is_a?(NullGroup) end |
#eql?(other) ⇒ Boolean
58 59 60 |
# File 'lib/trestle/navigation/group.rb', line 58 def eql?(other) other.is_a?(NullGroup) end |
#hash ⇒ Object
62 63 64 |
# File 'lib/trestle/navigation/group.rb', line 62 def hash NullGroup.hash end |
#id ⇒ Object
66 67 68 |
# File 'lib/trestle/navigation/group.rb', line 66 def id nil end |
#present? ⇒ Boolean
50 51 52 |
# File 'lib/trestle/navigation/group.rb', line 50 def present? false end |