Class: Dhaka::ItemSet
- Inherits:
-
Set
- Object
- Set
- Dhaka::ItemSet
- Defined in:
- lib/parser/parser_state.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#eql?(other) ⇒ Boolean
62 63 64 |
# File 'lib/parser/parser_state.rb', line 62 def eql? other self == other end |
#hash ⇒ Object
59 60 61 |
# File 'lib/parser/parser_state.rb', line 59 def hash self.collect{|item| item.hash}.inject{|result, hashcode| result ^ hashcode} end |