class Rubylog::DSL::ArraySplat
this class is used as a placeholder for array splats.
- *A
-
> [ArraySplat.new(A)]¶ ↑
Attributes
var[R]
Public Class Methods
new(var = Rubylog::Variable.new)
click to toggle source
# File lib/rubylog/dsl/array_splat.rb, line 7 def initialize var = Rubylog::Variable.new @var = var end
Public Instance Methods
==(other)
click to toggle source
# File lib/rubylog/dsl/array_splat.rb, line 19 def == other self.class == other.class && @var == other.var end
eql?(other)
click to toggle source
# File lib/rubylog/dsl/array_splat.rb, line 15 def eql? other self.class == other.class && @var.eql?(other.var) end
inspect()
click to toggle source
# File lib/rubylog/dsl/array_splat.rb, line 11 def inspect "*#{var.inspect}" end
rubylog_clone(&block)
click to toggle source
# File lib/rubylog/dsl/array_splat.rb, line 26 def rubylog_clone &block block[Rubylog::DSL::ArraySplat.new(@var.rubylog_clone(&block))] end
rubylog_deep_dereference()
click to toggle source
# File lib/rubylog/dsl/array_splat.rb, line 30 def rubylog_deep_dereference Rubylog::DSL::ArraySplat.new(@var.rubylog_deep_dereference) end