Class: Prism::CaseMatchNode
| 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 |
Instance Attribute Summary
Node - Inherited
| #newline_flag? | : () -> bool. |
Instance Method Summary
-
#consequent
Returns the else clause of the case match node.
Node - Inherited
| #deprecated | : (*String replacements) -> void. |
| #newline_flag! | : (Array lines) -> void. |
Instance Method Details
#consequent
Returns the else clause of the case match node. This method is deprecated in favor of #else_clause.
# File 'lib/prism/node_ext.rb', line 601
def consequent deprecated("else_clause") else_clause end