kernel/compiler/nodes.rb
# If a Splat is contained in this SValue, it will be
# stored in '@splat'
# If there is an ArrayLiteral, it will be stored in '@literal'
If a Splat is contained in this SValue, it will be
stored in '@splat'
If there is an ArrayLiteral, it will be stored in '@literal'
If a Splat is contained in this SValue it will be stored in ' @splat ' If there is an ArrayLiteral it will be stored in ' @literal '
def args(contents)
        case contents
        when ArrayLiteral then
          @splat = contents.body.grep(Splat).first
          contents.body.reject! {|e| Splat === e} if @splat
          @literal = contents
        when Splat then
          @splat = contents
          @literal = nil
        else
          @splat = nil
          @literal = contents
        end
      end
def args ( contents ) case contents when ArrayLiteral then @splat = contents . body . grep ( Splat ) . first contents . body . reject! { | e | Splat === e } if @splat @literal = contents when Splat then @splat = contents @literal = nil else @splat = nil @literal = contents end end
If a Splat is contained in this SValue, it will be
stored in '@splat'
If there is an ArrayLiteral, it will be stored in '@literal'
If a Splat is contained in this SValue it will be stored in ' @splat ' If there is an ArrayLiteral it will be stored in ' @literal '
contents
<not_specific>