lib/melbourne/ast/values.rb in melbourne-1.0.0 vs lib/melbourne/ast/values.rb in melbourne-1.0.1
- old
+ new
@@ -1,28 +1,28 @@
module Melbourne
module AST
- # A value of a splat (<tt>*some</tt>) as in:
+ # A value of a splat (+*some+) as in:
#
# *1 # the value of the splat is 1
#
class SplatValue < Node
# The actual value
#
attr_accessor :value
- def initialize(line, value) #:nodoc:
+ def initialize(line, value)
@line = line
@value = value
end
end
# TODO: document!
- class ConcatArgs < Node #:nodoc:
+ class ConcatArgs < Node
attr_accessor :array, :rest, :size
def initialize(line, array, rest)
@line = line
@@ -32,11 +32,11 @@
end
end
# TODO: document!
- class SValue < Node #:nodoc:
+ class SValue < Node
attr_accessor :value
def initialize(line, value)
@line = line
@@ -44,11 +44,11 @@
end
end
# TODO: document!
- class ToArray < Node #:nodoc:
+ class ToArray < Node
attr_accessor :value
def initialize(line, value)
@line = line
@@ -56,10 +56,10 @@
end
end
# TODO: document!
- class ToString < Node #:nodoc:
+ class ToString < Node
attr_accessor :value
def initialize(line, value)
@line = line