Class: Red::IllegalNode::MatchNode

Inherits:
Red::IllegalNode show all
Defined in:
lib/red/nodes/illegal_nodes.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ MatchNode

Returns a new instance of MatchNode.



10
11
12
# File 'lib/red/nodes/illegal_nodes.rb', line 10

def initialize(*args)
  raise(BuildError::NoArbitraryMatch, "Boolean matching is not supported")
end