Method: CodeTools::AST::OpAssignAttribute#to_sexp
- Defined in:
- lib/rubinius/code/ast/operators.rb
#to_sexp ⇒ Object
396 397 398 399 400 401 402 403 404 405 406 |
# File 'lib/rubinius/code/ast/operators.rb', line 396 def to_sexp case @op when :or op = :"||" when :and op = :"&&" else op = @op end [sexp_name, @receiver.to_sexp, :"#{@name}=", op, @value.to_sexp] end |