Class: JsonProjection::StreamEvent
- Inherits:
-
Object
- Object
- JsonProjection::StreamEvent
show all
- Defined in:
- lib/json-projection/parser/events.rb
Overview
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.empty ⇒ Object
6
7
8
|
# File 'lib/json-projection/parser/events.rb', line 6
def self.empty
@empty ||= new
end
|
Instance Method Details
#==(other) ⇒ Object
10
11
12
|
# File 'lib/json-projection/parser/events.rb', line 10
def ==(other)
other.is_a?(self.class)
end
|
#hash ⇒ Object
14
15
16
|
# File 'lib/json-projection/parser/events.rb', line 14
def hash
self.class.hash
end
|