Class: Object

Inherits:
BasicObject
Defined in:
lib/rust/core/types/datatype.rb

Instance Method Summary collapse

Instance Method Details

#to_RObject

Returns a string with the R representation of this object. Raises an exception for unsupported objects.

Raises:

  • (TypeError)


148
149
150
# File 'lib/rust/core/types/datatype.rb', line 148

def to_R
    raise TypeError, "Unsupported type for #{self.class}"
end