class Prism::IfNode

Public Instance Methods

consequent ()

Returns the subsequent if/elsif/else clause of the if node. This method is deprecated in favor of subsequent.

# File lib/prism/node_ext.rb, line 485
def consequent
  deprecated("subsequent")
  subsequent
end