Class: RObject::String

Inherits:
Base
  • Object
show all
Defined in:
lib/robject/type/string.rb

Instance Attribute Summary

Attributes inherited from Base

#robj

Class Method Summary collapse

Methods inherited from Base

#__getobj__, #as_r, delegate_to_R, #initialize, #is_function?, #method_missing, #to_ruby

Constructor Details

This class inherits a constructor from RObject::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RObject::Base

Class Method Details

.match?(robj, type) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/robject/type/string.rb', line 3

def self.match? robj, type
  type == 'character'
end