Class: Red::IllegalNode::MatchNode

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ MatchNode

Returns a new instance of MatchNode.



16
17
18
# File 'lib/red/illegal_nodes.rb', line 16

def initialize(*args)
  raise(BuildError::NoArbitraryMatch, "JavaScript does not support arbitrary boolean matching")
end