Class: Node::ZARRAY

Inherits:
Node
  • Object
show all
Defined in:
lib/decompiler/node/as_expression.rb

Instance Method Summary collapse

Methods inherited from Node

#as_code, #as_expression, #as_paren_expression, define_code, define_expression

Instance Method Details

#as_expression_impl(node, brackets = true) ⇒ Object



128
129
130
# File 'lib/decompiler/node/as_expression.rb', line 128

def as_expression_impl(node, brackets = true)
  brackets ? '[]' : ''
end