Class: Steep::AST::Types::Logic::Base
Instance Method Summary
collapse
instance
#each_child, #map_type
#free_variables
Instance Method Details
#==(other) ⇒ Object
Also known as:
eql?
20
21
22
|
# File 'lib/steep/ast/types/logic.rb', line 20
def ==(other)
other.class == self.class
end
|
16
17
18
|
# File 'lib/steep/ast/types/logic.rb', line 16
def hash
self.class.hash
end
|
30
31
32
|
# File 'lib/steep/ast/types/logic.rb', line 30
def level
[0]
end
|
8
9
10
|
# File 'lib/steep/ast/types/logic.rb', line 8
def subst(s)
self
end
|
26
27
28
|
# File 'lib/steep/ast/types/logic.rb', line 26
def to_s
"<% #{self.class} %>"
end
|