Class: Prism::UnlessNode
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Node
|
|
Instance Chain:
self,
Node
|
|
Inherits: |
Prism::Node
|
Defined in: | lib/prism/node_ext.rb, lib/prism/parse_result/newlines.rb |
Instance Attribute Summary
Node
- Inherited
Instance Method Summary
-
#consequent
Returns the else clause of the unless node.
- #newline_flag!(lines) Internal use only
Node
- Inherited
Instance Method Details
#consequent
Returns the else clause of the unless node. This method is deprecated in favor of #else_clause
.
# File 'lib/prism/node_ext.rb', line 503
def consequent deprecated("else_clause") else_clause end
#newline_flag!(lines)
This method is for internal use only.
[ GitHub ]
# File 'lib/prism/parse_result/newlines.rb', line 97
def newline_flag!(lines) # :nodoc: predicate.newline_flag!(lines) end