Rserve::REXP::Symbol

Attributes

name[R]

Public Class Methods

new(name) click to toggle source
# File lib/rserve/rexp/symbol.rb, line 5
def initialize(name)
  super()
  @name= (name.nil?) ? "" : name
end

Public Instance Methods

as_string() click to toggle source
# File lib/rserve/rexp/symbol.rb, line 12
def as_string
  @name
end
as_strings() click to toggle source
# File lib/rserve/rexp/symbol.rb, line 15
def as_strings
  [@name]
end
symbol?() click to toggle source
# File lib/rserve/rexp/symbol.rb, line 9
def symbol?
  true
end
to_debug_string() click to toggle source
# File lib/rserve/rexp/symbol.rb, line 21
def to_debug_string
  super+"["+name+"]"
end
to_ruby() click to toggle source
# File lib/rserve/rexp/symbol.rb, line 24
def to_ruby
  @name
end
to_s() click to toggle source
# File lib/rserve/rexp/symbol.rb, line 18
def to_s
  super+"["+name+"]"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.