Class: Rust::Variable

Inherits:
Object show all
Defined in:
lib/rust/core/types/language.rb

Overview

Represents an R variable.

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Variable

Creates a variable with the given name.



165
166
167
# File 'lib/rust/core/types/language.rb', line 165

def initialize(name)
    @name = name
end

Instance Method Details

#to_RObject



169
170
171
# File 'lib/rust/core/types/language.rb', line 169

def to_R
    @name
end