Class: RType::Base
- Inherits:
-
RObj
- Object
- RObj
- RType::Base
- Includes:
- Helper::RObjDelegatable
- Defined in:
- lib/r_type/type/base.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(robj) ⇒ Base
constructor
A new instance of Base.
Methods included from Helper::RObjDelegatable
#==, #__getobj__, #as_r, included, #inspect, #robj, #robj=, #ruby_obj, #ruby_obj=, #to_ruby
Methods included from Helper::RObjDelegatable::ClassMethods
#delegate_constructor, #delegate_to_R
Methods included from CoreExt::NumericDelegateR
Constructor Details
#initialize(robj) ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/r_type/type/base.rb', line 10 def initialize robj @robj = robj end |
Class Method Details
.match?(robj, type) ⇒ Boolean
6 7 8 |
# File 'lib/r_type/type/base.rb', line 6 def self.match? robj, type true end |