Class: Renjin::List
- Inherits:
-
RubySexp
- Object
- RubySexp
- Renjin::List
- Includes:
- Index
- Defined in:
- lib/JRubyR/list.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes included from RBSexp
Instance Method Summary (collapse)
-
- (List) initialize(sexp)
constructor
----------------------------------------------------------------------------------------.
-
- (Object) names
----------------------------------------------------------------------------------------.
-
- (Object) unlist
----------------------------------------------------------------------------------------.
Methods included from Index
#[], #[]=, #each, #length, #method_missing, #parse
Methods inherited from RubySexp
Methods included from RBSexp
#destroy, #ncol, #nrow, #pp, #print, #r, #rclass, #sexp?, #typeof, #unbind
Constructor Details
- (List) initialize(sexp)
33 34 35 36 |
# File 'lib/JRubyR/list.rb', line 33 def initialize(sexp) super(sexp) @iterator = @sexp.iterator() end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Renjin::Index
Instance Method Details
- (Object) names
42 43 44 |
# File 'lib/JRubyR/list.rb', line 42 def names R.names(self) end |
- (Object) unlist
50 51 52 |
# File 'lib/JRubyR/list.rb', line 50 def unlist R.unlist(self) end |