Class: Prism::CaseMatchNode

Inherits:
Node
  • Object
show all
Defined in:
lib/prism/node_ext.rb

Instance Method Summary collapse

Methods inherited from Node

#deprecated, #newline_flag!, #newline_flag?

Instance Method Details

#consequentObject

Returns the else clause of the case match node. This method is deprecated in favor of #else_clause.



467
468
469
470
# File 'lib/prism/node_ext.rb', line 467

def consequent
  deprecated("else_clause")
  else_clause
end