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
68 69 70 |
# File 'lib/parser/parser_state.rb', line 68 def eql? other self == other end |
#hash ⇒ Object
64 65 66 |
# File 'lib/parser/parser_state.rb', line 64 def hash collect{|item| item.hash}.inject{|result, hashcode| result ^ hashcode} end |