mdarray-sol 0.1.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +35 -0
- data/LICENSE.txt~ +73 -0
- data/README.md +140 -0
- data/README.md~ +290 -0
- data/Rakefile +80 -0
- data/config.rb +223 -0
- data/doc/Nashorn.html +1406 -0
- data/doc/Sol.html +692 -0
- data/doc/Sol/BarChart.html +181 -0
- data/doc/Sol/BaseChart.html +799 -0
- data/doc/Sol/Bootstrap.html +1134 -0
- data/doc/Sol/Bridge.html +448 -0
- data/doc/Sol/Chart.html +1162 -0
- data/doc/Sol/CoordinateChart.html +673 -0
- data/doc/Sol/DCFX.html +807 -0
- data/doc/Sol/Dashboard.html +1967 -0
- data/doc/Sol/ExecMessages.html +332 -0
- data/doc/Sol/GuiCommunication.html +230 -0
- data/doc/Sol/Interval.html +1213 -0
- data/doc/Sol/JS.html +448 -0
- data/doc/Sol/LineChart.html +344 -0
- data/doc/Sol/LinearScale.html +334 -0
- data/doc/Sol/Margins.html +219 -0
- data/doc/Sol/OrdinalScale.html +263 -0
- data/doc/Sol/ReadBuffer.html +302 -0
- data/doc/Sol/Scale.html +462 -0
- data/doc/Sol/Stack.html +199 -0
- data/doc/Sol/TimeScale.html +396 -0
- data/doc/_index.html +362 -0
- data/doc/class_list.html +58 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +95 -0
- data/doc/file_list.html +60 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +95 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +181 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +849 -0
- data/doc/top-level-namespace.html +135 -0
- data/examples/bar_chart/bar_chart.rb +268 -0
- data/examples/bar_plot.rb +96 -0
- data/examples/charts/area.rb +25 -0
- data/examples/charts/area_script.rb +69 -0
- data/examples/charts/env.rb +8 -0
- data/examples/charts/monthly-move.csv +6725 -0
- data/examples/charts/morley.csv +101 -0
- data/examples/charts/morley2.csv +81 -0
- data/examples/charts/morley3.csv +121 -0
- data/examples/d3_tutorial.rb +98 -0
- data/examples/sc_plot.rb +57 -0
- data/examples/scatterplot/axes.rb +111 -0
- data/examples/scatterplot/scatterplot.rb +221 -0
- data/examples/us_states/map.rb +90 -0
- data/examples/us_states/us-ag-productivity2004.csv +49 -0
- data/examples/us_states/us-cities.csv +51 -0
- data/examples/util/linear_scale.rb +83 -0
- data/examples/util/ordinal_scale.rb +72 -0
- data/init.rb +39 -0
- data/lib/jx/array_handler.js +70 -0
- data/lib/jx/callback.rb +255 -0
- data/lib/jx/hash_handler.js +87 -0
- data/lib/jx/irbobject.rb +121 -0
- data/lib/jx/js.rb +442 -0
- data/lib/jx/js_array.rb +31 -0
- data/lib/jx/js_hash.rb +76 -0
- data/lib/jx/js_init.rb +62 -0
- data/lib/jx/jsarray.rb +66 -0
- data/lib/jx/jsfunction.rb +73 -0
- data/lib/jx/jsobject.rb +188 -0
- data/lib/jx/jsstyle_sheet.rb +231 -0
- data/lib/jx/jsundefined.rb +46 -0
- data/lib/jx/proxy_array.rb +62 -0
- data/lib/jx/rbobject.rb +80 -0
- data/lib/jx/ruby_proxy.js +176 -0
- data/lib/jx/ruby_rich.js +70 -0
- data/lib/jx/sol.rb +109 -0
- data/lib/mdarray-sol.rb +34 -0
- data/lib/mdarray/jsmdarray.rb +39 -0
- data/lib/ruby_rich/bootstrap.rb +230 -0
- data/lib/ruby_rich/config.html +22 -0
- data/lib/ruby_rich/dashboard.rb +299 -0
- data/lib/ruby_rich/ruby_rich.rb +120 -0
- data/lib/sol/bar_chart.rb +35 -0
- data/lib/sol/base_chart.rb +148 -0
- data/lib/sol/chart.rb +138 -0
- data/lib/sol/coordinate_chart.rb +128 -0
- data/lib/sol/interval.rb +156 -0
- data/lib/sol/line_chart.rb +58 -0
- data/lib/sol/margins.rb +52 -0
- data/lib/sol/scale.rb +212 -0
- data/lib/sol/stack.rb +44 -0
- data/node_modules/bootstrap/Gruntfile.js +533 -0
- data/node_modules/bootstrap/dist/js/bootstrap.js +2363 -0
- data/node_modules/bootstrap/dist/js/bootstrap.min.js +7 -0
- data/node_modules/bootstrap/dist/js/npm.js +13 -0
- data/node_modules/bootstrap/grunt/bs-commonjs-generator.js +30 -0
- data/node_modules/bootstrap/grunt/bs-glyphicons-data-generator.js +42 -0
- data/node_modules/bootstrap/grunt/bs-lessdoc-parser.js +237 -0
- data/node_modules/bootstrap/grunt/bs-raw-files-generator.js +44 -0
- data/node_modules/bootstrap/js/affix.js +162 -0
- data/node_modules/bootstrap/js/alert.js +94 -0
- data/node_modules/bootstrap/js/button.js +120 -0
- data/node_modules/bootstrap/js/carousel.js +237 -0
- data/node_modules/bootstrap/js/collapse.js +211 -0
- data/node_modules/bootstrap/js/dropdown.js +165 -0
- data/node_modules/bootstrap/js/modal.js +337 -0
- data/node_modules/bootstrap/js/popover.js +108 -0
- data/node_modules/bootstrap/js/scrollspy.js +172 -0
- data/node_modules/bootstrap/js/tab.js +155 -0
- data/node_modules/bootstrap/js/tooltip.js +514 -0
- data/node_modules/bootstrap/js/transition.js +59 -0
- data/node_modules/chai/chai.js +6142 -0
- data/node_modules/chai/index.js +1 -0
- data/node_modules/chai/karma.conf.js +28 -0
- data/node_modules/chai/karma.sauce.js +41 -0
- data/node_modules/chai/lib/chai.js +93 -0
- data/node_modules/chai/lib/chai/assertion.js +131 -0
- data/node_modules/chai/lib/chai/config.js +55 -0
- data/node_modules/chai/lib/chai/core/assertions.js +1860 -0
- data/node_modules/chai/lib/chai/interface/assert.js +1645 -0
- data/node_modules/chai/lib/chai/interface/expect.js +34 -0
- data/node_modules/chai/lib/chai/interface/should.js +201 -0
- data/node_modules/chai/lib/chai/utils/addChainableMethod.js +112 -0
- data/node_modules/chai/lib/chai/utils/addMethod.js +44 -0
- data/node_modules/chai/lib/chai/utils/addProperty.js +48 -0
- data/node_modules/chai/lib/chai/utils/expectTypes.js +42 -0
- data/node_modules/chai/lib/chai/utils/flag.js +33 -0
- data/node_modules/chai/lib/chai/utils/getActual.js +20 -0
- data/node_modules/chai/lib/chai/utils/getEnumerableProperties.js +26 -0
- data/node_modules/chai/lib/chai/utils/getMessage.js +51 -0
- data/node_modules/chai/lib/chai/utils/getName.js +22 -0
- data/node_modules/chai/lib/chai/utils/getPathInfo.js +111 -0
- data/node_modules/chai/lib/chai/utils/getPathValue.js +43 -0
- data/node_modules/chai/lib/chai/utils/getProperties.js +36 -0
- data/node_modules/chai/lib/chai/utils/hasProperty.js +64 -0
- data/node_modules/chai/lib/chai/utils/index.js +130 -0
- data/node_modules/chai/lib/chai/utils/inspect.js +335 -0
- data/node_modules/chai/lib/chai/utils/objDisplay.js +50 -0
- data/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +54 -0
- data/node_modules/chai/lib/chai/utils/overwriteMethod.js +52 -0
- data/node_modules/chai/lib/chai/utils/overwriteProperty.js +55 -0
- data/node_modules/chai/lib/chai/utils/test.js +28 -0
- data/node_modules/chai/lib/chai/utils/transferFlags.js +45 -0
- data/node_modules/chai/node_modules/assertion-error/index.js +116 -0
- data/node_modules/chai/node_modules/deep-eql/index.js +1 -0
- data/node_modules/chai/node_modules/deep-eql/karma.conf.js +20 -0
- data/node_modules/chai/node_modules/deep-eql/lib/eql.js +257 -0
- data/node_modules/chai/node_modules/deep-eql/node_modules/type-detect/index.js +1 -0
- data/node_modules/chai/node_modules/deep-eql/node_modules/type-detect/lib/type.js +142 -0
- data/node_modules/chai/node_modules/type-detect/index.js +1 -0
- data/node_modules/chai/node_modules/type-detect/lib/type.js +134 -0
- data/node_modules/chai/sauce.browsers.js +128 -0
- data/node_modules/dc/Gruntfile.js +437 -0
- data/node_modules/dc/dc.js +10477 -0
- data/node_modules/dc/dc.min.js +23 -0
- data/node_modules/dc/docs/coverage.js +203 -0
- data/node_modules/dc/grunt/format-file-list.js +33 -0
- data/node_modules/dc/index.js +5 -0
- data/node_modules/dc/node_modules/crossfilter2/crossfilter.js +1401 -0
- data/node_modules/dc/node_modules/crossfilter2/crossfilter.min.js +1 -0
- data/node_modules/dc/node_modules/crossfilter2/index.js +1 -0
- data/node_modules/dc/node_modules/crossfilter2/src/array.js +46 -0
- data/node_modules/dc/node_modules/crossfilter2/src/bisect.js +44 -0
- data/node_modules/dc/node_modules/crossfilter2/src/crossfilter.js +872 -0
- data/node_modules/dc/node_modules/crossfilter2/src/filter.js +19 -0
- data/node_modules/dc/node_modules/crossfilter2/src/heap.js +44 -0
- data/node_modules/dc/node_modules/crossfilter2/src/heapselect.js +36 -0
- data/node_modules/dc/node_modules/crossfilter2/src/identity.js +3 -0
- data/node_modules/dc/node_modules/crossfilter2/src/insertionsort.js +18 -0
- data/node_modules/dc/node_modules/crossfilter2/src/null.js +3 -0
- data/node_modules/dc/node_modules/crossfilter2/src/permute.js +8 -0
- data/node_modules/dc/node_modules/crossfilter2/src/quicksort.js +283 -0
- data/node_modules/dc/node_modules/crossfilter2/src/reduce.js +19 -0
- data/node_modules/dc/node_modules/crossfilter2/src/zero.js +3 -0
- data/node_modules/dc/node_modules/d3/d3.js +9554 -0
- data/node_modules/dc/node_modules/d3/d3.min.js +5 -0
- data/node_modules/dc/node_modules/d3/package.js +13 -0
- data/node_modules/dc/node_modules/d3/src/arrays/ascending.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/bisect.js +36 -0
- data/node_modules/dc/node_modules/d3/src/arrays/descending.js +3 -0
- data/node_modules/dc/node_modules/d3/src/arrays/deviation.js +6 -0
- data/node_modules/dc/node_modules/d3/src/arrays/entries.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/extent.js +21 -0
- data/node_modules/dc/node_modules/d3/src/arrays/index.js +25 -0
- data/node_modules/dc/node_modules/d3/src/arrays/keys.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/map.js +84 -0
- data/node_modules/dc/node_modules/d3/src/arrays/max.js +14 -0
- data/node_modules/dc/node_modules/d3/src/arrays/mean.js +15 -0
- data/node_modules/dc/node_modules/d3/src/arrays/median.js +16 -0
- data/node_modules/dc/node_modules/d3/src/arrays/merge.js +21 -0
- data/node_modules/dc/node_modules/d3/src/arrays/min.js +14 -0
- data/node_modules/dc/node_modules/d3/src/arrays/nest.js +97 -0
- data/node_modules/dc/node_modules/d3/src/arrays/pairs.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/permute.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/quantile.js +8 -0
- data/node_modules/dc/node_modules/d3/src/arrays/range.js +26 -0
- data/node_modules/dc/node_modules/d3/src/arrays/set.js +27 -0
- data/node_modules/dc/node_modules/d3/src/arrays/shuffle.js +9 -0
- data/node_modules/dc/node_modules/d3/src/arrays/sum.js +14 -0
- data/node_modules/dc/node_modules/d3/src/arrays/transpose.js +15 -0
- data/node_modules/dc/node_modules/d3/src/arrays/values.js +5 -0
- data/node_modules/dc/node_modules/d3/src/arrays/variance.js +29 -0
- data/node_modules/dc/node_modules/d3/src/arrays/zip.js +5 -0
- data/node_modules/dc/node_modules/d3/src/behavior/behavior.js +1 -0
- data/node_modules/dc/node_modules/d3/src/behavior/drag.js +88 -0
- data/node_modules/dc/node_modules/d3/src/behavior/index.js +3 -0
- data/node_modules/dc/node_modules/d3/src/behavior/zoom.js +348 -0
- data/node_modules/dc/node_modules/d3/src/color/color.js +7 -0
- data/node_modules/dc/node_modules/d3/src/color/hcl.js +34 -0
- data/node_modules/dc/node_modules/d3/src/color/hsl.js +56 -0
- data/node_modules/dc/node_modules/d3/src/color/index.js +6 -0
- data/node_modules/dc/node_modules/d3/src/color/lab.js +60 -0
- data/node_modules/dc/node_modules/d3/src/color/rgb.js +301 -0
- data/node_modules/dc/node_modules/d3/src/color/xyz.js +7 -0
- data/node_modules/dc/node_modules/d3/src/compat/array.js +15 -0
- data/node_modules/dc/node_modules/d3/src/compat/date.js +3 -0
- data/node_modules/dc/node_modules/d3/src/compat/index.js +3 -0
- data/node_modules/dc/node_modules/d3/src/compat/style.js +23 -0
- data/node_modules/dc/node_modules/d3/src/core/array.js +2 -0
- data/node_modules/dc/node_modules/d3/src/core/class.js +8 -0
- data/node_modules/dc/node_modules/d3/src/core/document.js +15 -0
- data/node_modules/dc/node_modules/d3/src/core/functor.js +5 -0
- data/node_modules/dc/node_modules/d3/src/core/identity.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/index.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/noop.js +1 -0
- data/node_modules/dc/node_modules/d3/src/core/ns.js +18 -0
- data/node_modules/dc/node_modules/d3/src/core/rebind.js +16 -0
- data/node_modules/dc/node_modules/d3/src/core/source.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/subclass.js +11 -0
- data/node_modules/dc/node_modules/d3/src/core/target.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/true.js +3 -0
- data/node_modules/dc/node_modules/d3/src/core/vendor.js +10 -0
- data/node_modules/dc/node_modules/d3/src/core/zero.js +3 -0
- data/node_modules/dc/node_modules/d3/src/d3.js +23 -0
- data/node_modules/dc/node_modules/d3/src/dsv/csv.js +3 -0
- data/node_modules/dc/node_modules/d3/src/dsv/dsv.js +136 -0
- data/node_modules/dc/node_modules/d3/src/dsv/index.js +3 -0
- data/node_modules/dc/node_modules/d3/src/dsv/tsv.js +3 -0
- data/node_modules/dc/node_modules/d3/src/end.js +4 -0
- data/node_modules/dc/node_modules/d3/src/event/dispatch.js +69 -0
- data/node_modules/dc/node_modules/d3/src/event/drag.js +36 -0
- data/node_modules/dc/node_modules/d3/src/event/event.js +50 -0
- data/node_modules/dc/node_modules/d3/src/event/index.js +6 -0
- data/node_modules/dc/node_modules/d3/src/event/mouse.js +39 -0
- data/node_modules/dc/node_modules/d3/src/event/timer.js +82 -0
- data/node_modules/dc/node_modules/d3/src/event/touch.js +11 -0
- data/node_modules/dc/node_modules/d3/src/event/touches.js +12 -0
- data/node_modules/dc/node_modules/d3/src/format/collapse.js +3 -0
- data/node_modules/dc/node_modules/d3/src/format/format.js +3 -0
- data/node_modules/dc/node_modules/d3/src/format/formatPrefix.js +24 -0
- data/node_modules/dc/node_modules/d3/src/format/index.js +4 -0
- data/node_modules/dc/node_modules/d3/src/format/precision.js +3 -0
- data/node_modules/dc/node_modules/d3/src/format/requote.js +5 -0
- data/node_modules/dc/node_modules/d3/src/format/round.js +5 -0
- data/node_modules/dc/node_modules/d3/src/geo/albers-usa.js +129 -0
- data/node_modules/dc/node_modules/d3/src/geo/albers.js +11 -0
- data/node_modules/dc/node_modules/d3/src/geo/area.js +69 -0
- data/node_modules/dc/node_modules/d3/src/geo/azimuthal-equal-area.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/azimuthal-equidistant.js +13 -0
- data/node_modules/dc/node_modules/d3/src/geo/azimuthal.js +25 -0
- data/node_modules/dc/node_modules/d3/src/geo/bounds.js +168 -0
- data/node_modules/dc/node_modules/d3/src/geo/cartesian.js +47 -0
- data/node_modules/dc/node_modules/d3/src/geo/centroid.js +149 -0
- data/node_modules/dc/node_modules/d3/src/geo/circle.js +81 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip-antimeridian.js +95 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip-circle.js +178 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip-extent.js +196 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip-polygon.js +104 -0
- data/node_modules/dc/node_modules/d3/src/geo/clip.js +149 -0
- data/node_modules/dc/node_modules/d3/src/geo/compose.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/conic-conformal.js +39 -0
- data/node_modules/dc/node_modules/d3/src/geo/conic-equal-area.js +33 -0
- data/node_modules/dc/node_modules/d3/src/geo/conic-equidistant.js +36 -0
- data/node_modules/dc/node_modules/d3/src/geo/conic.js +16 -0
- data/node_modules/dc/node_modules/d3/src/geo/distance.js +13 -0
- data/node_modules/dc/node_modules/d3/src/geo/equirectangular.js +10 -0
- data/node_modules/dc/node_modules/d3/src/geo/geo.js +1 -0
- data/node_modules/dc/node_modules/d3/src/geo/gnomonic.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/graticule.js +103 -0
- data/node_modules/dc/node_modules/d3/src/geo/greatArc.js +42 -0
- data/node_modules/dc/node_modules/d3/src/geo/index.js +33 -0
- data/node_modules/dc/node_modules/d3/src/geo/interpolate.js +38 -0
- data/node_modules/dc/node_modules/d3/src/geo/length.js +44 -0
- data/node_modules/dc/node_modules/d3/src/geo/mercator.js +48 -0
- data/node_modules/dc/node_modules/d3/src/geo/orthographic.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-area.js +41 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-bounds.js +21 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-buffer.js +59 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-centroid.js +78 -0
- data/node_modules/dc/node_modules/d3/src/geo/path-context.js +49 -0
- data/node_modules/dc/node_modules/d3/src/geo/path.js +87 -0
- data/node_modules/dc/node_modules/d3/src/geo/point-in-polygon.js +71 -0
- data/node_modules/dc/node_modules/d3/src/geo/projection.js +121 -0
- data/node_modules/dc/node_modules/d3/src/geo/resample.js +109 -0
- data/node_modules/dc/node_modules/d3/src/geo/rotation.js +79 -0
- data/node_modules/dc/node_modules/d3/src/geo/spherical.js +13 -0
- data/node_modules/dc/node_modules/d3/src/geo/stereographic.js +12 -0
- data/node_modules/dc/node_modules/d3/src/geo/stream.js +71 -0
- data/node_modules/dc/node_modules/d3/src/geo/transform.js +36 -0
- data/node_modules/dc/node_modules/d3/src/geo/transverse-mercator.js +31 -0
- data/node_modules/dc/node_modules/d3/src/geom/clip-line.js +66 -0
- data/node_modules/dc/node_modules/d3/src/geom/delaunay.js +6 -0
- data/node_modules/dc/node_modules/d3/src/geom/geom.js +1 -0
- data/node_modules/dc/node_modules/d3/src/geom/hull.js +91 -0
- data/node_modules/dc/node_modules/d3/src/geom/index.js +6 -0
- data/node_modules/dc/node_modules/d3/src/geom/point.js +7 -0
- data/node_modules/dc/node_modules/d3/src/geom/polygon.js +105 -0
- data/node_modules/dc/node_modules/d3/src/geom/quadtree.js +243 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi.js +110 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/beach.js +186 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/cell.js +64 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/circle.js +73 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/clip.js +80 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/edge.js +50 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/index.js +59 -0
- data/node_modules/dc/node_modules/d3/src/geom/voronoi/red-black.js +235 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/array.js +19 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/ease.js +111 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/hcl.js +20 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/hsl.js +20 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/index.js +14 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/interpolate.js +26 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/lab.js +17 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/number.js +6 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/object.js +25 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/rgb.js +20 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/round.js +6 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/string.js +54 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/transform.js +59 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/uninterpolate.js +9 -0
- data/node_modules/dc/node_modules/d3/src/interpolate/zoom.js +53 -0
- data/node_modules/dc/node_modules/d3/src/layout/bundle.js +59 -0
- data/node_modules/dc/node_modules/d3/src/layout/chord.js +157 -0
- data/node_modules/dc/node_modules/d3/src/layout/cluster.js +92 -0
- data/node_modules/dc/node_modules/d3/src/layout/force.js +372 -0
- data/node_modules/dc/node_modules/d3/src/layout/hierarchy.js +136 -0
- data/node_modules/dc/node_modules/d3/src/layout/histogram.js +110 -0
- data/node_modules/dc/node_modules/d3/src/layout/index.js +13 -0
- data/node_modules/dc/node_modules/d3/src/layout/layout.js +1 -0
- data/node_modules/dc/node_modules/d3/src/layout/pack.js +211 -0
- data/node_modules/dc/node_modules/d3/src/layout/partition.js +51 -0
- data/node_modules/dc/node_modules/d3/src/layout/pie.js +78 -0
- data/node_modules/dc/node_modules/d3/src/layout/stack.js +247 -0
- data/node_modules/dc/node_modules/d3/src/layout/tree.js +240 -0
- data/node_modules/dc/node_modules/d3/src/layout/treemap.js +229 -0
- data/node_modules/dc/node_modules/d3/src/locale/ca-ES.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/de-CH.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/de-DE.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/en-CA.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/en-GB.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/en-US.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/es-ES.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/fi-FI.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/fr-CA.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/fr-FR.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/he-IL.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/hu-HU.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/it-IT.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/ja-JP.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/ko-KR.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/locale.js +9 -0
- data/node_modules/dc/node_modules/d3/src/locale/mk-MK.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/nl-NL.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/number-format.js +155 -0
- data/node_modules/dc/node_modules/d3/src/locale/pl-PL.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/pt-BR.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/ru-RU.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/sv-SE.js +16 -0
- data/node_modules/dc/node_modules/d3/src/locale/time-format.js +370 -0
- data/node_modules/dc/node_modules/d3/src/locale/time-scale.js +0 -0
- data/node_modules/dc/node_modules/d3/src/locale/zh-CN.js +16 -0
- data/node_modules/dc/node_modules/d3/src/math/abs.js +1 -0
- data/node_modules/dc/node_modules/d3/src/math/adder.js +34 -0
- data/node_modules/dc/node_modules/d3/src/math/index.js +2 -0
- data/node_modules/dc/node_modules/d3/src/math/number.js +7 -0
- data/node_modules/dc/node_modules/d3/src/math/random.js +34 -0
- data/node_modules/dc/node_modules/d3/src/math/transform.js +64 -0
- data/node_modules/dc/node_modules/d3/src/math/trigonometry.js +44 -0
- data/node_modules/dc/node_modules/d3/src/scale/bilinear.js +7 -0
- data/node_modules/dc/node_modules/d3/src/scale/category.js +58 -0
- data/node_modules/dc/node_modules/d3/src/scale/identity.js +33 -0
- data/node_modules/dc/node_modules/d3/src/scale/index.js +11 -0
- data/node_modules/dc/node_modules/d3/src/scale/linear.js +160 -0
- data/node_modules/dc/node_modules/d3/src/scale/log.js +92 -0
- data/node_modules/dc/node_modules/d3/src/scale/nice.js +30 -0
- data/node_modules/dc/node_modules/d3/src/scale/ordinal.js +102 -0
- data/node_modules/dc/node_modules/d3/src/scale/polylinear.js +24 -0
- data/node_modules/dc/node_modules/d3/src/scale/pow.js +57 -0
- data/node_modules/dc/node_modules/d3/src/scale/quantile.js +55 -0
- data/node_modules/dc/node_modules/d3/src/scale/quantize.js +44 -0
- data/node_modules/dc/node_modules/d3/src/scale/scale.js +10 -0
- data/node_modules/dc/node_modules/d3/src/scale/sqrt.js +6 -0
- data/node_modules/dc/node_modules/d3/src/scale/threshold.js +36 -0
- data/node_modules/dc/node_modules/d3/src/selection/append.js +28 -0
- data/node_modules/dc/node_modules/d3/src/selection/attr.js +62 -0
- data/node_modules/dc/node_modules/d3/src/selection/call.js +8 -0
- data/node_modules/dc/node_modules/d3/src/selection/classed.js +76 -0
- data/node_modules/dc/node_modules/d3/src/selection/data.js +117 -0
- data/node_modules/dc/node_modules/d3/src/selection/datum.js +7 -0
- data/node_modules/dc/node_modules/d3/src/selection/each.js +16 -0
- data/node_modules/dc/node_modules/d3/src/selection/empty.js +5 -0
- data/node_modules/dc/node_modules/d3/src/selection/enter-insert.js +20 -0
- data/node_modules/dc/node_modules/d3/src/selection/enter-select.js +27 -0
- data/node_modules/dc/node_modules/d3/src/selection/enter.js +21 -0
- data/node_modules/dc/node_modules/d3/src/selection/filter.js +28 -0
- data/node_modules/dc/node_modules/d3/src/selection/html.js +10 -0
- data/node_modules/dc/node_modules/d3/src/selection/index.js +1 -0
- data/node_modules/dc/node_modules/d3/src/selection/insert.js +9 -0
- data/node_modules/dc/node_modules/d3/src/selection/interrupt.js +27 -0
- data/node_modules/dc/node_modules/d3/src/selection/node.js +11 -0
- data/node_modules/dc/node_modules/d3/src/selection/on.js +106 -0
- data/node_modules/dc/node_modules/d3/src/selection/order.js +13 -0
- data/node_modules/dc/node_modules/d3/src/selection/property.js +43 -0
- data/node_modules/dc/node_modules/d3/src/selection/remove.js +13 -0
- data/node_modules/dc/node_modules/d3/src/selection/select.js +32 -0
- data/node_modules/dc/node_modules/d3/src/selection/selectAll.js +27 -0
- data/node_modules/dc/node_modules/d3/src/selection/selection.js +81 -0
- data/node_modules/dc/node_modules/d3/src/selection/size.js +7 -0
- data/node_modules/dc/node_modules/d3/src/selection/sort.js +15 -0
- data/node_modules/dc/node_modules/d3/src/selection/style.js +59 -0
- data/node_modules/dc/node_modules/d3/src/selection/text.js +10 -0
- data/node_modules/dc/node_modules/d3/src/selection/transition.js +21 -0
- data/node_modules/dc/node_modules/d3/src/start.js +2 -0
- data/node_modules/dc/node_modules/d3/src/svg/arc.js +292 -0
- data/node_modules/dc/node_modules/d3/src/svg/area-radial.js +14 -0
- data/node_modules/dc/node_modules/d3/src/svg/area.js +121 -0
- data/node_modules/dc/node_modules/d3/src/svg/axis.js +160 -0
- data/node_modules/dc/node_modules/d3/src/svg/brush.js +429 -0
- data/node_modules/dc/node_modules/d3/src/svg/chord.js +90 -0
- data/node_modules/dc/node_modules/d3/src/svg/diagonal-radial.js +27 -0
- data/node_modules/dc/node_modules/d3/src/svg/diagonal.js +43 -0
- data/node_modules/dc/node_modules/d3/src/svg/index.js +12 -0
- data/node_modules/dc/node_modules/d3/src/svg/line-radial.js +27 -0
- data/node_modules/dc/node_modules/d3/src/svg/line.js +432 -0
- data/node_modules/dc/node_modules/d3/src/svg/svg.js +1 -0
- data/node_modules/dc/node_modules/d3/src/svg/symbol.js +105 -0
- data/node_modules/dc/node_modules/d3/src/time/day.js +21 -0
- data/node_modules/dc/node_modules/d3/src/time/format-iso.js +19 -0
- data/node_modules/dc/node_modules/d3/src/time/format-utc.js +3 -0
- data/node_modules/dc/node_modules/d3/src/time/format.js +4 -0
- data/node_modules/dc/node_modules/d3/src/time/hour.js +14 -0
- data/node_modules/dc/node_modules/d3/src/time/index.js +14 -0
- data/node_modules/dc/node_modules/d3/src/time/interval.js +71 -0
- data/node_modules/dc/node_modules/d3/src/time/minute.js +13 -0
- data/node_modules/dc/node_modules/d3/src/time/month.js +16 -0
- data/node_modules/dc/node_modules/d3/src/time/scale-utc.js +25 -0
- data/node_modules/dc/node_modules/d3/src/time/scale.js +155 -0
- data/node_modules/dc/node_modules/d3/src/time/second.js +13 -0
- data/node_modules/dc/node_modules/d3/src/time/time.js +33 -0
- data/node_modules/dc/node_modules/d3/src/time/week.js +31 -0
- data/node_modules/dc/node_modules/d3/src/time/year.js +16 -0
- data/node_modules/dc/node_modules/d3/src/transition/attr.js +58 -0
- data/node_modules/dc/node_modules/d3/src/transition/delay.js +10 -0
- data/node_modules/dc/node_modules/d3/src/transition/duration.js +10 -0
- data/node_modules/dc/node_modules/d3/src/transition/each.js +26 -0
- data/node_modules/dc/node_modules/d3/src/transition/ease.js +10 -0
- data/node_modules/dc/node_modules/d3/src/transition/filter.js +22 -0
- data/node_modules/dc/node_modules/d3/src/transition/index.js +1 -0
- data/node_modules/dc/node_modules/d3/src/transition/remove.js +9 -0
- data/node_modules/dc/node_modules/d3/src/transition/select.js +28 -0
- data/node_modules/dc/node_modules/d3/src/transition/selectAll.js +31 -0
- data/node_modules/dc/node_modules/d3/src/transition/style.js +53 -0
- data/node_modules/dc/node_modules/d3/src/transition/subtransition.js +25 -0
- data/node_modules/dc/node_modules/d3/src/transition/text.js +11 -0
- data/node_modules/dc/node_modules/d3/src/transition/transition.js +161 -0
- data/node_modules/dc/node_modules/d3/src/transition/tween.js +17 -0
- data/node_modules/dc/node_modules/d3/src/xhr/html.js +12 -0
- data/node_modules/dc/node_modules/d3/src/xhr/index.js +5 -0
- data/node_modules/dc/node_modules/d3/src/xhr/json.js +9 -0
- data/node_modules/dc/node_modules/d3/src/xhr/text.js +5 -0
- data/node_modules/dc/node_modules/d3/src/xhr/xhr.js +126 -0
- data/node_modules/dc/node_modules/d3/src/xhr/xml.js +5 -0
- data/node_modules/dc/regression/inject-serializer.js +6 -0
- data/node_modules/dc/regression/stock-regression-test.js +140 -0
- data/node_modules/dc/spec/bar-chart-spec.js +1230 -0
- data/node_modules/dc/spec/base-mixin-spec.js +611 -0
- data/node_modules/dc/spec/biggish-data-spec.js +136 -0
- data/node_modules/dc/spec/box-plot-spec.js +211 -0
- data/node_modules/dc/spec/bubble-chart-spec.js +450 -0
- data/node_modules/dc/spec/bubble-overlay-spec.js +102 -0
- data/node_modules/dc/spec/color-spec.js +89 -0
- data/node_modules/dc/spec/composite-chart-spec.js +691 -0
- data/node_modules/dc/spec/coordinate-grid-chart-spec.js +962 -0
- data/node_modules/dc/spec/core-spec.js +301 -0
- data/node_modules/dc/spec/data-addition-spec.js +122 -0
- data/node_modules/dc/spec/data-count-spec.js +180 -0
- data/node_modules/dc/spec/data-grid-spec.js +124 -0
- data/node_modules/dc/spec/data-table-spec.js +251 -0
- data/node_modules/dc/spec/event-spec.js +41 -0
- data/node_modules/dc/spec/filter-dates-spec.js +92 -0
- data/node_modules/dc/spec/filters-spec.js +140 -0
- data/node_modules/dc/spec/geo-choropleth-chart-spec.js +225 -0
- data/node_modules/dc/spec/heatmap-spec.js +363 -0
- data/node_modules/dc/spec/helpers/custom_matchers.js +213 -0
- data/node_modules/dc/spec/helpers/fixtures.js +81 -0
- data/node_modules/dc/spec/helpers/geoFixtures.js +113 -0
- data/node_modules/dc/spec/helpers/load-jsreporter.js +37 -0
- data/node_modules/dc/spec/helpers/spec-helper.js +53 -0
- data/node_modules/dc/spec/legend-spec.js +266 -0
- data/node_modules/dc/spec/line-chart-spec.js +709 -0
- data/node_modules/dc/spec/logger-spec.js +80 -0
- data/node_modules/dc/spec/number-display-spec.js +168 -0
- data/node_modules/dc/spec/pie-chart-spec.js +677 -0
- data/node_modules/dc/spec/row-chart-spec.js +362 -0
- data/node_modules/dc/spec/scatter-plot-spec.js +336 -0
- data/node_modules/dc/spec/series-chart-spec.js +133 -0
- data/node_modules/dc/spec/utils-spec.js +110 -0
- data/node_modules/dc/src/banner.js +2 -0
- data/node_modules/dc/src/bar-chart.js +374 -0
- data/node_modules/dc/src/base-mixin.js +1478 -0
- data/node_modules/dc/src/box-plot.js +240 -0
- data/node_modules/dc/src/bubble-chart.js +177 -0
- data/node_modules/dc/src/bubble-mixin.js +244 -0
- data/node_modules/dc/src/bubble-overlay.js +207 -0
- data/node_modules/dc/src/cap-mixin.js +151 -0
- data/node_modules/dc/src/color-mixin.js +172 -0
- data/node_modules/dc/src/composite-chart.js +544 -0
- data/node_modules/dc/src/coordinate-grid-mixin.js +1300 -0
- data/node_modules/dc/src/core.js +425 -0
- data/node_modules/dc/src/d3.box.js +317 -0
- data/node_modules/dc/src/data-count.js +110 -0
- data/node_modules/dc/src/data-grid.js +243 -0
- data/node_modules/dc/src/data-table.js +419 -0
- data/node_modules/dc/src/errors.js +28 -0
- data/node_modules/dc/src/events.js +37 -0
- data/node_modules/dc/src/filters.js +124 -0
- data/node_modules/dc/src/footer.js +35 -0
- data/node_modules/dc/src/geo-choropleth-chart.js +279 -0
- data/node_modules/dc/src/heatmap.js +378 -0
- data/node_modules/dc/src/legend.js +277 -0
- data/node_modules/dc/src/line-chart.js +504 -0
- data/node_modules/dc/src/logger.js +40 -0
- data/node_modules/dc/src/margin-mixin.js +44 -0
- data/node_modules/dc/src/number-display.js +141 -0
- data/node_modules/dc/src/pie-chart.js +571 -0
- data/node_modules/dc/src/row-chart.js +425 -0
- data/node_modules/dc/src/scatter-plot.js +338 -0
- data/node_modules/dc/src/series-chart.js +192 -0
- data/node_modules/dc/src/stack-mixin.js +319 -0
- data/node_modules/dc/src/utils.js +290 -0
- data/node_modules/dc/web/docs/html/scripts/docstrap.lib.js +11 -0
- data/node_modules/dc/web/docs/html/scripts/fulltext-search-ui.js +89 -0
- data/node_modules/dc/web/docs/html/scripts/fulltext-search.js +36 -0
- data/node_modules/dc/web/docs/html/scripts/lunr.min.js +7 -0
- data/node_modules/dc/web/docs/html/scripts/prettify/jquery.min.js +6 -0
- data/node_modules/dc/web/docs/html/scripts/prettify/lang-css.js +21 -0
- data/node_modules/dc/web/docs/html/scripts/prettify/prettify.js +496 -0
- data/node_modules/dc/web/docs/html/scripts/sunlight.js +1157 -0
- data/node_modules/dc/web/docs/html/scripts/toc.js +203 -0
- data/node_modules/dc/web/ep/list.js +106 -0
- data/node_modules/dc/web/examples/lysenko-interval-tree.js +447 -0
- data/node_modules/dc/web/highlighter/shAutoloader.js +17 -0
- data/node_modules/dc/web/highlighter/shBrushJScript.js +52 -0
- data/node_modules/dc/web/highlighter/shBrushXml.js +69 -0
- data/node_modules/dc/web/highlighter/shCore.js +17 -0
- data/node_modules/dc/web/js/colorbrewer.js +1 -0
- data/node_modules/dc/web/js/crossfilter.js +1401 -0
- data/node_modules/dc/web/js/d3.js +9554 -0
- data/node_modules/dc/web/js/dc.js +10477 -0
- data/node_modules/dc/web/js/dc.min.js +23 -0
- data/node_modules/dc/web/js/env-data.js +218 -0
- data/node_modules/dc/web/js/jasmine-jsreporter.js +394 -0
- data/node_modules/dc/web/stock.js +685 -0
- data/node_modules/dc/web/transitions/transition-test.js +45 -0
- data/node_modules/jquery/dist/jquery.js +9814 -0
- data/node_modules/jquery/dist/jquery.min.js +4 -0
- data/node_modules/jquery/external/sizzle/dist/sizzle.js +2143 -0
- data/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/node_modules/jquery/src/ajax.js +845 -0
- data/node_modules/jquery/src/ajax/jsonp.js +100 -0
- data/node_modules/jquery/src/ajax/load.js +83 -0
- data/node_modules/jquery/src/ajax/parseJSON.js +13 -0
- data/node_modules/jquery/src/ajax/parseXML.js +27 -0
- data/node_modules/jquery/src/ajax/script.js +68 -0
- data/node_modules/jquery/src/ajax/var/location.js +3 -0
- data/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- data/node_modules/jquery/src/ajax/var/rquery.js +3 -0
- data/node_modules/jquery/src/ajax/xhr.js +167 -0
- data/node_modules/jquery/src/attributes.js +11 -0
- data/node_modules/jquery/src/attributes/attr.js +142 -0
- data/node_modules/jquery/src/attributes/classes.js +177 -0
- data/node_modules/jquery/src/attributes/prop.js +125 -0
- data/node_modules/jquery/src/attributes/support.js +36 -0
- data/node_modules/jquery/src/attributes/val.js +177 -0
- data/node_modules/jquery/src/callbacks.js +232 -0
- data/node_modules/jquery/src/core.js +494 -0
- data/node_modules/jquery/src/core/access.js +65 -0
- data/node_modules/jquery/src/core/init.js +134 -0
- data/node_modules/jquery/src/core/parseHTML.js +41 -0
- data/node_modules/jquery/src/core/ready.js +103 -0
- data/node_modules/jquery/src/core/var/rsingleTag.js +5 -0
- data/node_modules/jquery/src/css.js +502 -0
- data/node_modules/jquery/src/css/addGetHookIf.js +24 -0
- data/node_modules/jquery/src/css/adjustCSS.js +65 -0
- data/node_modules/jquery/src/css/curCSS.js +60 -0
- data/node_modules/jquery/src/css/defaultDisplay.js +72 -0
- data/node_modules/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/node_modules/jquery/src/css/showHide.js +48 -0
- data/node_modules/jquery/src/css/support.js +121 -0
- data/node_modules/jquery/src/css/var/cssExpand.js +3 -0
- data/node_modules/jquery/src/css/var/getStyles.js +15 -0
- data/node_modules/jquery/src/css/var/isHidden.js +16 -0
- data/node_modules/jquery/src/css/var/rmargin.js +3 -0
- data/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
- data/node_modules/jquery/src/css/var/swap.js +24 -0
- data/node_modules/jquery/src/data.js +187 -0
- data/node_modules/jquery/src/data/Data.js +200 -0
- data/node_modules/jquery/src/data/var/acceptData.js +18 -0
- data/node_modules/jquery/src/data/var/dataPriv.js +5 -0
- data/node_modules/jquery/src/data/var/dataUser.js +5 -0
- data/node_modules/jquery/src/deferred.js +158 -0
- data/node_modules/jquery/src/deprecated.js +32 -0
- data/node_modules/jquery/src/dimensions.js +54 -0
- data/node_modules/jquery/src/effects.js +629 -0
- data/node_modules/jquery/src/effects/Tween.js +121 -0
- data/node_modules/jquery/src/effects/animatedSelector.js +13 -0
- data/node_modules/jquery/src/event.js +711 -0
- data/node_modules/jquery/src/event/ajax.js +20 -0
- data/node_modules/jquery/src/event/alias.js +27 -0
- data/node_modules/jquery/src/event/focusin.js +53 -0
- data/node_modules/jquery/src/event/support.js +9 -0
- data/node_modules/jquery/src/event/trigger.js +183 -0
- data/node_modules/jquery/src/exports/amd.js +24 -0
- data/node_modules/jquery/src/exports/global.js +26 -0
- data/node_modules/jquery/src/intro.js +44 -0
- data/node_modules/jquery/src/jquery.js +37 -0
- data/node_modules/jquery/src/manipulation.js +481 -0
- data/node_modules/jquery/src/manipulation/_evalUrl.js +20 -0
- data/node_modules/jquery/src/manipulation/buildFragment.js +102 -0
- data/node_modules/jquery/src/manipulation/getAll.js +21 -0
- data/node_modules/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/node_modules/jquery/src/manipulation/support.js +33 -0
- data/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/node_modules/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/node_modules/jquery/src/manipulation/var/rtagName.js +3 -0
- data/node_modules/jquery/src/manipulation/wrapMap.js +27 -0
- data/node_modules/jquery/src/offset.js +218 -0
- data/node_modules/jquery/src/outro.js +2 -0
- data/node_modules/jquery/src/queue.js +143 -0
- data/node_modules/jquery/src/queue/delay.js +22 -0
- data/node_modules/jquery/src/selector-native.js +211 -0
- data/node_modules/jquery/src/selector-sizzle.js +14 -0
- data/node_modules/jquery/src/selector.js +1 -0
- data/node_modules/jquery/src/serialize.js +125 -0
- data/node_modules/jquery/src/traversing.js +175 -0
- data/node_modules/jquery/src/traversing/findFilter.js +100 -0
- data/node_modules/jquery/src/traversing/var/dir.js +20 -0
- data/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/node_modules/jquery/src/traversing/var/siblings.js +15 -0
- data/node_modules/jquery/src/var/arr.js +3 -0
- data/node_modules/jquery/src/var/class2type.js +5 -0
- data/node_modules/jquery/src/var/concat.js +5 -0
- data/node_modules/jquery/src/var/document.js +3 -0
- data/node_modules/jquery/src/var/documentElement.js +5 -0
- data/node_modules/jquery/src/var/hasOwn.js +5 -0
- data/node_modules/jquery/src/var/indexOf.js +5 -0
- data/node_modules/jquery/src/var/pnum.js +3 -0
- data/node_modules/jquery/src/var/push.js +5 -0
- data/node_modules/jquery/src/var/rcssNum.js +7 -0
- data/node_modules/jquery/src/var/rnotwhite.js +3 -0
- data/node_modules/jquery/src/var/slice.js +5 -0
- data/node_modules/jquery/src/var/support.js +5 -0
- data/node_modules/jquery/src/var/toString.js +5 -0
- data/node_modules/jquery/src/wrap.js +79 -0
- data/target/mdarray_sol.jar +0 -0
- data/test/jx/test_complete.rb +35 -0
- data/test/jx/test_js.rb +543 -0
- data/test/jx/test_proxy_array.rb +239 -0
- data/test/jx/test_proxy_hash.rb +160 -0
- data/test/jx/test_proxy_lambda.rb +80 -0
- data/test/jx/test_rb_js_compat.rb +135 -0
- data/test/jx/test_style_sheets.rb +90 -0
- data/test/mdarray/test_mdarray.rb +75 -0
- data/util/cacert.pem +4095 -0
- data/util/download.rb +256 -0
- data/vendor/jxbrowser-6.8.jar +0 -0
- data/vendor/licence.jar +0 -0
- data/version.rb +2 -0
- metadata +817 -0
data/Rakefile
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
require 'rake/testtask'
|
|
2
|
+
|
|
3
|
+
require_relative 'version'
|
|
4
|
+
require_relative 'config'
|
|
5
|
+
|
|
6
|
+
name = "#{$gem_name}-#{$version}.gem"
|
|
7
|
+
|
|
8
|
+
#==========================================================================================
|
|
9
|
+
# Compiling Java classes
|
|
10
|
+
#==========================================================================================
|
|
11
|
+
|
|
12
|
+
desc "Compile java to mdarray-sol.jar"
|
|
13
|
+
task :javac do
|
|
14
|
+
files = Dir["#{Sol.src_dir}/**/*.java"]
|
|
15
|
+
jars = Dir["#{Sol.vendor_dir}/*.jar"]
|
|
16
|
+
classpath_directive = (jars.size > 0)? "-classpath #{jars.join(';')}" : ""
|
|
17
|
+
|
|
18
|
+
sh "javac #{classpath_directive} -d #{Sol.classes_dir} #{files.join(' ')}"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
#==========================================================================================
|
|
22
|
+
#
|
|
23
|
+
#==========================================================================================
|
|
24
|
+
|
|
25
|
+
desc 'Make jar file'
|
|
26
|
+
task :make_jar do
|
|
27
|
+
|
|
28
|
+
Dir.chdir(Sol.classes_dir)
|
|
29
|
+
classes = Dir['**/*.class']
|
|
30
|
+
p classes
|
|
31
|
+
sh "jar -cf #{Sol.target_dir}/mdarray_sol.jar #{classes.join(' ')}"
|
|
32
|
+
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
#==========================================================================================
|
|
36
|
+
#
|
|
37
|
+
#==========================================================================================
|
|
38
|
+
|
|
39
|
+
Rake::TestTask.new do |t|
|
|
40
|
+
t.libs << "test"
|
|
41
|
+
t.test_files = FileList['test/complete.rb']
|
|
42
|
+
t.ruby_opts = ["--server", "-Xinvokedynamic.constants=true", "-J-Xmn512m",
|
|
43
|
+
"-J-Xms1024m", "-J-Xmx1024m"]
|
|
44
|
+
t.verbose = true
|
|
45
|
+
t.warning = true
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
#==========================================================================================
|
|
49
|
+
# Gem management
|
|
50
|
+
#==========================================================================================
|
|
51
|
+
|
|
52
|
+
desc 'Makes a Gem'
|
|
53
|
+
task :make_gem do
|
|
54
|
+
sh "jruby -S gem build #{$gem_name}.gemspec"
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
desc 'Install the gem in the standard location'
|
|
58
|
+
task :install_gem => [:make_gem] do
|
|
59
|
+
sh "jruby -S gem install #{$gem_name}-#{$version}-java.gem"
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
desc 'Push gem to rubygem'
|
|
63
|
+
task :push_gem do
|
|
64
|
+
sh "jruby -S gem push #{name}"
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
desc 'Make documentation'
|
|
68
|
+
task :make_doc do
|
|
69
|
+
sh "yard doc lib/*.rb lib/**/*.rb"
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
#==========================================================================================
|
|
73
|
+
# GitHub management
|
|
74
|
+
#==========================================================================================
|
|
75
|
+
|
|
76
|
+
desc 'Push project to github'
|
|
77
|
+
task :push do
|
|
78
|
+
sh "git push origin master"
|
|
79
|
+
end
|
|
80
|
+
|
data/config.rb
ADDED
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
##########################################################################################
|
|
4
|
+
# @author Rodrigo Botafogo
|
|
5
|
+
#
|
|
6
|
+
# Copyright © 2015 Rodrigo Botafogo. All Rights Reserved. Permission to use, copy, modify,
|
|
7
|
+
# and distribute this software and its documentation, without fee and without a signed
|
|
8
|
+
# licensing agreement, is hereby granted, provided that the above copyright notice, this
|
|
9
|
+
# paragraph and the following two paragraphs appear in all copies, modifications, and
|
|
10
|
+
# distributions.
|
|
11
|
+
#
|
|
12
|
+
# IN NO EVENT SHALL RODRIGO BOTAFOGO BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL,
|
|
13
|
+
# INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF
|
|
14
|
+
# THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF RODRIGO BOTAFOGO HAS BEEN ADVISED OF THE
|
|
15
|
+
# POSSIBILITY OF SUCH DAMAGE.
|
|
16
|
+
#
|
|
17
|
+
# RODRIGO BOTAFOGO SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
18
|
+
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
|
|
19
|
+
# SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED HEREUNDER IS PROVIDED "AS IS".
|
|
20
|
+
# RODRIGO BOTAFOGO HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
|
|
21
|
+
# OR MODIFICATIONS.
|
|
22
|
+
##########################################################################################
|
|
23
|
+
|
|
24
|
+
require 'rbconfig'
|
|
25
|
+
require 'java'
|
|
26
|
+
|
|
27
|
+
#=========================================================================================
|
|
28
|
+
# In principle should not be in this file. The right way of doing this is by executing
|
|
29
|
+
# bundler exec, but I don't know how to do this from inside emacs. So, should comment
|
|
30
|
+
# the next line before publishing the GEM. If not commented, this should be harmless
|
|
31
|
+
# anyway.
|
|
32
|
+
#=========================================================================================
|
|
33
|
+
|
|
34
|
+
begin
|
|
35
|
+
require 'bundler/setup'
|
|
36
|
+
rescue LoadError
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
require_relative 'util/download.rb'
|
|
40
|
+
|
|
41
|
+
#---------------------------------------------------------------------------------------
|
|
42
|
+
# Set the project directories
|
|
43
|
+
#---------------------------------------------------------------------------------------
|
|
44
|
+
|
|
45
|
+
class Sol
|
|
46
|
+
|
|
47
|
+
#-------------------------------------------------------------------------------------
|
|
48
|
+
# Instance variables with information about directories and files used
|
|
49
|
+
#-------------------------------------------------------------------------------------
|
|
50
|
+
|
|
51
|
+
@home_dir = File.expand_path File.dirname(__FILE__)
|
|
52
|
+
|
|
53
|
+
class << self
|
|
54
|
+
attr_reader :home_dir
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
@project_dir = Sol.home_dir + "/.."
|
|
58
|
+
@doc_dir = Sol.home_dir + "/doc"
|
|
59
|
+
@lib_dir = Sol.home_dir + "/lib"
|
|
60
|
+
@src_dir = Sol.home_dir + "/src"
|
|
61
|
+
@target_dir = Sol.home_dir + "/target"
|
|
62
|
+
@test_dir = Sol.home_dir + "/test"
|
|
63
|
+
@vendor_dir = Sol.home_dir + "/vendor"
|
|
64
|
+
@js_dir = Sol.home_dir + "/node_modules"
|
|
65
|
+
|
|
66
|
+
# directory where jxbrowser jar files are stored on the web
|
|
67
|
+
@rbotafogo_gist_dir = "https://gist.github.com/rbotafogo/8e5425494c08b8db1d7228a1f4a726fe/raw"
|
|
68
|
+
# Windows platform
|
|
69
|
+
# @jx_dir = "902699d3017e6cda80370f9bcb7aba6a331070a8"
|
|
70
|
+
@jx_dir = "0dac333673300a1f0132df9298de807c82372e25"
|
|
71
|
+
@jxwin = "jxbrowser-win-6.8.jar"
|
|
72
|
+
# Linux32 platform
|
|
73
|
+
@jxlinux32 = "jxbrowser-linux32-6.8.jar"
|
|
74
|
+
# Linux64 platform
|
|
75
|
+
@jxlinux64 = "jxbrowser-linux64-6.8.jar"
|
|
76
|
+
# Mac platform
|
|
77
|
+
@jxmac = "jxbrowser-mac-6.8.jar"
|
|
78
|
+
|
|
79
|
+
class << self
|
|
80
|
+
attr_reader :project_dir
|
|
81
|
+
attr_reader :doc_dir
|
|
82
|
+
attr_reader :lib_dir
|
|
83
|
+
attr_reader :src_dir
|
|
84
|
+
attr_reader :target_dir
|
|
85
|
+
attr_reader :test_dir
|
|
86
|
+
attr_reader :vendor_dir
|
|
87
|
+
attr_reader :js_dir
|
|
88
|
+
attr_reader :rbotafogo_gist_dir
|
|
89
|
+
attr_reader :jx_dir
|
|
90
|
+
attr_reader :jxwin
|
|
91
|
+
attr_reader :jxlinux32
|
|
92
|
+
attr_reader :jxlinux64
|
|
93
|
+
attr_reader :jxmac
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
@build_dir = Sol.src_dir + "/build"
|
|
97
|
+
|
|
98
|
+
class << self
|
|
99
|
+
attr_reader :build_dir
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
@classes_dir = Sol.build_dir + "/classes"
|
|
103
|
+
|
|
104
|
+
class << self
|
|
105
|
+
attr_reader :classes_dir
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
#-------------------------------------------------------------------------------------
|
|
109
|
+
# Environment information
|
|
110
|
+
#-------------------------------------------------------------------------------------
|
|
111
|
+
|
|
112
|
+
@platform =
|
|
113
|
+
case RUBY_PLATFORM
|
|
114
|
+
when /mswin/ then 'windows'
|
|
115
|
+
when /mingw/ then 'windows'
|
|
116
|
+
when /bccwin/ then 'windows'
|
|
117
|
+
when /cygwin/ then 'windows-cygwin'
|
|
118
|
+
when /java/
|
|
119
|
+
require 'java' #:nodoc:
|
|
120
|
+
if java.lang.System.getProperty("os.name") =~ /[Ww]indows/
|
|
121
|
+
'windows-java'
|
|
122
|
+
else
|
|
123
|
+
'default-java'
|
|
124
|
+
end
|
|
125
|
+
else
|
|
126
|
+
'default'
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
@host_os = RbConfig::CONFIG['host_os']
|
|
130
|
+
@host_cpu = RbConfig::CONFIG['host_cpu']
|
|
131
|
+
|
|
132
|
+
#-------------------------------------------------------------------------------------
|
|
133
|
+
#
|
|
134
|
+
#-------------------------------------------------------------------------------------
|
|
135
|
+
|
|
136
|
+
def self.windows?
|
|
137
|
+
!(@host_os =~ /mswin|mingw/).nil?
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
#-------------------------------------------------------------------------------------
|
|
141
|
+
#
|
|
142
|
+
#-------------------------------------------------------------------------------------
|
|
143
|
+
|
|
144
|
+
def self.linux32?
|
|
145
|
+
(!(@host_os =~ /linux/).nil? && !(@host_cpu =~ /x86_32/).nil?)
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
#-------------------------------------------------------------------------------------
|
|
149
|
+
#
|
|
150
|
+
#-------------------------------------------------------------------------------------
|
|
151
|
+
|
|
152
|
+
def self.linux64?
|
|
153
|
+
(!(@host_os =~ /linux/).nil? && !(@host_cpu =~ /x86_64/).nil?)
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
#-------------------------------------------------------------------------------------
|
|
157
|
+
#
|
|
158
|
+
#-------------------------------------------------------------------------------------
|
|
159
|
+
|
|
160
|
+
def self.mac?
|
|
161
|
+
!(@host_os =~ /mac|darwin/).nil?
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
#-------------------------------------------------------------------------------------
|
|
165
|
+
#
|
|
166
|
+
#-------------------------------------------------------------------------------------
|
|
167
|
+
|
|
168
|
+
def self.jxBrowser?
|
|
169
|
+
|
|
170
|
+
ENV['CA_CERT_FILE'] = "#@home_dir/util/cacert.pem"
|
|
171
|
+
|
|
172
|
+
case true
|
|
173
|
+
when -> (n) { windows? }
|
|
174
|
+
if (!FileTest.exists?("#@vendor_dir/#@jxwin"))
|
|
175
|
+
puts "Missing jxBrowser for Windows Platform... "
|
|
176
|
+
spec = "#@rbotafogo_gist_dir/#@jx_dir/#@jxwin"
|
|
177
|
+
puts "Downloading file: #{spec}"
|
|
178
|
+
Downloader.download_file(spec, "#@vendor_dir/#@jxwin")
|
|
179
|
+
end
|
|
180
|
+
when -> (n) { linux32? }
|
|
181
|
+
if (!FileTest.exists?("#@vendor_dir/#@jxlinux32"))
|
|
182
|
+
puts "Missing jxBrowser for Linux32 Platform... "
|
|
183
|
+
spec = "#@rbotafogo_gist_dir/#@jx_dir/#@jxlinux32"
|
|
184
|
+
puts "Downloading file: #{spec}"
|
|
185
|
+
Downloader.download_file(spec, "#@vendor_dir/#@jxlinux32")
|
|
186
|
+
end
|
|
187
|
+
when -> (n) { linux64? }
|
|
188
|
+
p "linux64"
|
|
189
|
+
if (!FileTest.exists?("#@vendor_dir/#@jxlinux64"))
|
|
190
|
+
puts "Missing jxBrowser for Linux64 Platform... "
|
|
191
|
+
spec = "#@rbotafogo_gist_dir/#@jx_dir/#@jxlinux64"
|
|
192
|
+
puts "Downloading file: #{spec}"
|
|
193
|
+
Downloader.download_file(spec, "#@vendor_dir/#@jxlinux64")
|
|
194
|
+
end
|
|
195
|
+
when -> (n) { mac? }
|
|
196
|
+
if (!FileTest.exists?("#@vendor_dir/#@jxmac"))
|
|
197
|
+
puts "Missing jxBrowser for Mac Platform... "
|
|
198
|
+
spec = "#@rbotafogo_gist_dir/#@jx_dir/#@jxmac"
|
|
199
|
+
puts "Downloading file: #{spec}"
|
|
200
|
+
Downloader.download_file(spec, "#@vendor_dir/#@jxmac")
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
#----------------------------------------------------------------------------------------
|
|
210
|
+
# If we need to test for coverage
|
|
211
|
+
#----------------------------------------------------------------------------------------
|
|
212
|
+
|
|
213
|
+
if $COVERAGE == 'true'
|
|
214
|
+
|
|
215
|
+
require 'simplecov'
|
|
216
|
+
|
|
217
|
+
SimpleCov.start do
|
|
218
|
+
@filters = []
|
|
219
|
+
add_group "Sol"
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
end
|
|
223
|
+
|
data/doc/Nashorn.html
ADDED
|
@@ -0,0 +1,1406 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Class: Nashorn
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.7.6
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
|
19
|
+
relpath = '';
|
|
20
|
+
framesUrl = "frames.html#!Nashorn.html";
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
|
25
|
+
|
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div id="header">
|
|
32
|
+
<div id="menu">
|
|
33
|
+
|
|
34
|
+
<a href="_index.html">Index (N)</a> »
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<span class="title">Nashorn</span>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div id="search">
|
|
44
|
+
|
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
|
46
|
+
href="class_list.html">
|
|
47
|
+
Class List
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
|
51
|
+
href="method_list.html">
|
|
52
|
+
Method List
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
|
56
|
+
href="file_list.html">
|
|
57
|
+
File List
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<iframe id="search_frame"></iframe>
|
|
65
|
+
|
|
66
|
+
<div id="content"><h1>Class: Nashorn
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
<dt class="r1">Inherits:</dt>
|
|
75
|
+
<dd class="r1">
|
|
76
|
+
<span class="inheritName">JRubyFX::Application</span>
|
|
77
|
+
|
|
78
|
+
<ul class="fullTree">
|
|
79
|
+
<li>Object</li>
|
|
80
|
+
|
|
81
|
+
<li class="next">JRubyFX::Application</li>
|
|
82
|
+
|
|
83
|
+
<li class="next">Nashorn</li>
|
|
84
|
+
|
|
85
|
+
</ul>
|
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
87
|
+
|
|
88
|
+
</dd>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
|
99
|
+
<dd class="r2 last">lib/nashorn/nashorn.rb</dd>
|
|
100
|
+
|
|
101
|
+
</dl>
|
|
102
|
+
<div class="clear"></div>
|
|
103
|
+
|
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
|
105
|
+
<div class="discussion">
|
|
106
|
+
|
|
107
|
+
<h6 id="label-"></h6>
|
|
108
|
+
|
|
109
|
+
<h6 id="label-"></h6>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="tags">
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
</div>
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
122
|
+
<ul class="summary">
|
|
123
|
+
|
|
124
|
+
<li class="public ">
|
|
125
|
+
<span class="summary_signature">
|
|
126
|
+
|
|
127
|
+
<a href="#browser-instance_method" title="#browser (instance method)">- (Object) <strong>browser</strong> </a>
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
</span>
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
<span class="note title readonly">readonly</span>
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
<span class="summary_desc"><div class='inline'>
|
|
147
|
+
<p>When view is true the following variables will be set.</p>
|
|
148
|
+
</div></span>
|
|
149
|
+
|
|
150
|
+
</li>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
<li class="public ">
|
|
154
|
+
<span class="summary_signature">
|
|
155
|
+
|
|
156
|
+
<a href="#document-instance_method" title="#document (instance method)">- (Object) <strong>document</strong> </a>
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
</span>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<span class="note title readonly">readonly</span>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
<span class="summary_desc"><div class='inline'>
|
|
176
|
+
<p>Returns the value of attribute document.</p>
|
|
177
|
+
</div></span>
|
|
178
|
+
|
|
179
|
+
</li>
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
<li class="public ">
|
|
183
|
+
<span class="summary_signature">
|
|
184
|
+
|
|
185
|
+
<a href="#engine-instance_method" title="#engine (instance method)">- (Object) <strong>engine</strong> </a>
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
</span>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
<span class="note title readonly">readonly</span>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
<span class="summary_desc"><div class='inline'>
|
|
205
|
+
<p>—————————————————————————————-.</p>
|
|
206
|
+
</div></span>
|
|
207
|
+
|
|
208
|
+
</li>
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
<li class="public ">
|
|
212
|
+
<span class="summary_signature">
|
|
213
|
+
|
|
214
|
+
<a href="#window-instance_method" title="#window (instance method)">- (Object) <strong>window</strong> </a>
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
</span>
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
<span class="note title readonly">readonly</span>
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
<span class="summary_desc"><div class='inline'>
|
|
234
|
+
<p>Returns the value of attribute window.</p>
|
|
235
|
+
</div></span>
|
|
236
|
+
|
|
237
|
+
</li>
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
</ul>
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
<h2>
|
|
247
|
+
Instance Method Summary
|
|
248
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
249
|
+
</h2>
|
|
250
|
+
|
|
251
|
+
<ul class="summary">
|
|
252
|
+
|
|
253
|
+
<li class="public ">
|
|
254
|
+
<span class="summary_signature">
|
|
255
|
+
|
|
256
|
+
<a href="#assign-instance_method" title="#assign (instance method)">- (Object) <strong>assign</strong>(name, value) </a>
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
</span>
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<span class="summary_desc"><div class='inline'>
|
|
271
|
+
<p>—————————————————————————————-.</p>
|
|
272
|
+
</div></span>
|
|
273
|
+
|
|
274
|
+
</li>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<li class="public ">
|
|
278
|
+
<span class="summary_signature">
|
|
279
|
+
|
|
280
|
+
<a href="#build_vector-instance_method" title="#build_vector (instance method)">- (Object) <strong>build_vector</strong>(mdarray) </a>
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
</span>
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
<span class="summary_desc"><div class='inline'>
|
|
295
|
+
<p>—————————————————————————————- Builds a Renjin vector from an MDArray.</p>
|
|
296
|
+
</div></span>
|
|
297
|
+
|
|
298
|
+
</li>
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<li class="public ">
|
|
302
|
+
<span class="summary_signature">
|
|
303
|
+
|
|
304
|
+
<a href="#direct_eval-instance_method" title="#direct_eval (instance method)">- (Object) <strong>direct_eval</strong>(expression) </a>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
</span>
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
<span class="summary_desc"><div class='inline'>
|
|
319
|
+
<p>—————————————————————————————- Evaluates an expression but does not wrap
|
|
320
|
+
the return in a RubySexp.</p>
|
|
321
|
+
</div></span>
|
|
322
|
+
|
|
323
|
+
</li>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<li class="public ">
|
|
327
|
+
<span class="summary_signature">
|
|
328
|
+
|
|
329
|
+
<a href="#eval-instance_method" title="#eval (instance method)">- (Object) <strong>eval</strong>(expression) </a>
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
</span>
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
<span class="summary_desc"><div class='inline'>
|
|
344
|
+
<p>—————————————————————————————-.</p>
|
|
345
|
+
</div></span>
|
|
346
|
+
|
|
347
|
+
</li>
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
<li class="public ">
|
|
351
|
+
<span class="summary_signature">
|
|
352
|
+
|
|
353
|
+
<a href="#install__package-instance_method" title="#install__package (instance method)">- (Object) <strong>install__package</strong>(name) </a>
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
</span>
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
<span class="summary_desc"><div class='inline'>
|
|
368
|
+
<p>—————————————————————————————-.</p>
|
|
369
|
+
</div></span>
|
|
370
|
+
|
|
371
|
+
</li>
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
<li class="public ">
|
|
375
|
+
<span class="summary_signature">
|
|
376
|
+
|
|
377
|
+
<a href="#library-instance_method" title="#library (instance method)">- (Object) <strong>library</strong>(package) </a>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
</span>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
<span class="summary_desc"><div class='inline'>
|
|
392
|
+
<p>—————————————————————————————-.</p>
|
|
393
|
+
</div></span>
|
|
394
|
+
|
|
395
|
+
</li>
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
<li class="public ">
|
|
399
|
+
<span class="summary_signature">
|
|
400
|
+
|
|
401
|
+
<a href="#method_missing-instance_method" title="#method_missing (instance method)">- (Object) <strong>method_missing</strong>(symbol, *args) </a>
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
</span>
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
<span class="summary_desc"><div class='inline'>
|
|
416
|
+
<p>—————————————————————————————-.</p>
|
|
417
|
+
</div></span>
|
|
418
|
+
|
|
419
|
+
</li>
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
<li class="public ">
|
|
423
|
+
<span class="summary_signature">
|
|
424
|
+
|
|
425
|
+
<a href="#parse-instance_method" title="#parse (instance method)">- (Object) <strong>parse</strong>(*args) </a>
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
</span>
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
<span class="summary_desc"><div class='inline'>
|
|
440
|
+
<p>—————————————————————————————-.</p>
|
|
441
|
+
</div></span>
|
|
442
|
+
|
|
443
|
+
</li>
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
<li class="public ">
|
|
447
|
+
<span class="summary_signature">
|
|
448
|
+
|
|
449
|
+
<a href="#pull-instance_method" title="#pull (instance method)">- (Object) <strong>pull</strong>(name) </a>
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
</span>
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
<span class="summary_desc"><div class='inline'>
|
|
464
|
+
<p>—————————————————————————————-.</p>
|
|
465
|
+
</div></span>
|
|
466
|
+
|
|
467
|
+
</li>
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
<li class="public ">
|
|
471
|
+
<span class="summary_signature">
|
|
472
|
+
|
|
473
|
+
<a href="#start-instance_method" title="#start (instance method)">- (Object) <strong>start</strong>(stage) </a>
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
</span>
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
488
|
+
|
|
489
|
+
</li>
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
</ul>
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
<div id="method_missing_details" class="method_details_list">
|
|
497
|
+
<h2>Dynamic Method Handling</h2>
|
|
498
|
+
<p class="notice this">
|
|
499
|
+
This class handles dynamic methods through the <tt>method_missing</tt> method
|
|
500
|
+
|
|
501
|
+
</p>
|
|
502
|
+
|
|
503
|
+
<div class="method_details first">
|
|
504
|
+
<h3 class="signature first" id="method_missing-instance_method">
|
|
505
|
+
|
|
506
|
+
- (<tt>Object</tt>) <strong>method_missing</strong>(symbol, *args)
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
</h3><div class="docstring">
|
|
513
|
+
<div class="discussion">
|
|
514
|
+
<hr>
|
|
515
|
+
<hr>
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
</div>
|
|
519
|
+
</div>
|
|
520
|
+
<div class="tags">
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
</div><table class="source_code">
|
|
524
|
+
<tr>
|
|
525
|
+
<td>
|
|
526
|
+
<pre class="lines">
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
83
|
|
530
|
+
84
|
|
531
|
+
85
|
|
532
|
+
86
|
|
533
|
+
87
|
|
534
|
+
88
|
|
535
|
+
89
|
|
536
|
+
90
|
|
537
|
+
91
|
|
538
|
+
92
|
|
539
|
+
93
|
|
540
|
+
94
|
|
541
|
+
95
|
|
542
|
+
96
|
|
543
|
+
97
|
|
544
|
+
98
|
|
545
|
+
99
|
|
546
|
+
100
|
|
547
|
+
101
|
|
548
|
+
102
|
|
549
|
+
103
|
|
550
|
+
104</pre>
|
|
551
|
+
</td>
|
|
552
|
+
<td>
|
|
553
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 83</span>
|
|
554
|
+
|
|
555
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_method_missing'>method_missing</span><span class='lparen'>(</span><span class='id identifier rubyid_symbol'>symbol</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
|
556
|
+
|
|
557
|
+
<span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='id identifier rubyid_symbol'>symbol</span><span class='period'>.</span><span class='id identifier rubyid_id2name'>id2name</span>
|
|
558
|
+
|
|
559
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(.*)=$</span><span class='regexp_end'>/</span></span>
|
|
560
|
+
<span class='kw'>super</span> <span class='kw'>if</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>!=</span> <span class='int'>1</span>
|
|
561
|
+
<span class='id identifier rubyid_ret'>ret</span> <span class='op'>=</span> <span class='id identifier rubyid_assign'>assign</span><span class='lparen'>(</span><span class='backref'>$1</span><span class='comma'>,</span><span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
|
562
|
+
<span class='kw'>else</span>
|
|
563
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
|
564
|
+
<span class='comment'># p "#{name}(#{params})"
|
|
565
|
+
</span> <span class='comment'># ret = eval("#{name}(#{params})")
|
|
566
|
+
</span> <span class='kw'>begin</span>
|
|
567
|
+
<span class='id identifier rubyid_ret'>ret</span> <span class='op'>=</span> <span class='ivar'>@engine</span><span class='period'>.</span><span class='id identifier rubyid_invokeFunction'>invokeFunction</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
|
568
|
+
<span class='kw'>rescue</span> <span class='const'>Java</span><span class='op'>::</span><span class='const'>JavaLang</span><span class='op'>::</span><span class='const'>NoSuchMethodException</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
|
569
|
+
<span class='id identifier rubyid_p'>p</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
|
|
570
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>NoMethodError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Method </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'> is not defined.</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
|
571
|
+
<span class='kw'>end</span>
|
|
572
|
+
<span class='kw'>end</span>
|
|
573
|
+
|
|
574
|
+
<span class='id identifier rubyid_ret'>ret</span>
|
|
575
|
+
|
|
576
|
+
<span class='kw'>end</span></pre>
|
|
577
|
+
</td>
|
|
578
|
+
</tr>
|
|
579
|
+
</table>
|
|
580
|
+
</div>
|
|
581
|
+
|
|
582
|
+
</div>
|
|
583
|
+
|
|
584
|
+
<div id="instance_attr_details" class="attr_details">
|
|
585
|
+
<h2>Instance Attribute Details</h2>
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
<span id=""></span>
|
|
589
|
+
<div class="method_details first">
|
|
590
|
+
<h3 class="signature first" id="browser-instance_method">
|
|
591
|
+
|
|
592
|
+
- (<tt>Object</tt>) <strong>browser</strong> <span class="extras">(readonly)</span>
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
</h3><div class="docstring">
|
|
599
|
+
<div class="discussion">
|
|
600
|
+
|
|
601
|
+
<p>When view is true the following variables will be set</p>
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
</div>
|
|
605
|
+
</div>
|
|
606
|
+
<div class="tags">
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
</div><table class="source_code">
|
|
610
|
+
<tr>
|
|
611
|
+
<td>
|
|
612
|
+
<pre class="lines">
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
39
|
|
616
|
+
40
|
|
617
|
+
41</pre>
|
|
618
|
+
</td>
|
|
619
|
+
<td>
|
|
620
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 39</span>
|
|
621
|
+
|
|
622
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_browser'>browser</span>
|
|
623
|
+
<span class='ivar'>@browser</span>
|
|
624
|
+
<span class='kw'>end</span></pre>
|
|
625
|
+
</td>
|
|
626
|
+
</tr>
|
|
627
|
+
</table>
|
|
628
|
+
</div>
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
<span id=""></span>
|
|
632
|
+
<div class="method_details ">
|
|
633
|
+
<h3 class="signature " id="document-instance_method">
|
|
634
|
+
|
|
635
|
+
- (<tt>Object</tt>) <strong>document</strong> <span class="extras">(readonly)</span>
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
</h3><div class="docstring">
|
|
642
|
+
<div class="discussion">
|
|
643
|
+
|
|
644
|
+
<p>Returns the value of attribute document</p>
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
</div>
|
|
648
|
+
</div>
|
|
649
|
+
<div class="tags">
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
</div><table class="source_code">
|
|
653
|
+
<tr>
|
|
654
|
+
<td>
|
|
655
|
+
<pre class="lines">
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
41
|
|
659
|
+
42
|
|
660
|
+
43</pre>
|
|
661
|
+
</td>
|
|
662
|
+
<td>
|
|
663
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 41</span>
|
|
664
|
+
|
|
665
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_document'>document</span>
|
|
666
|
+
<span class='ivar'>@document</span>
|
|
667
|
+
<span class='kw'>end</span></pre>
|
|
668
|
+
</td>
|
|
669
|
+
</tr>
|
|
670
|
+
</table>
|
|
671
|
+
</div>
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
<span id=""></span>
|
|
675
|
+
<div class="method_details ">
|
|
676
|
+
<h3 class="signature " id="engine-instance_method">
|
|
677
|
+
|
|
678
|
+
- (<tt>Object</tt>) <strong>engine</strong> <span class="extras">(readonly)</span>
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
</h3><div class="docstring">
|
|
685
|
+
<div class="discussion">
|
|
686
|
+
<hr>
|
|
687
|
+
<hr>
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
</div>
|
|
691
|
+
</div>
|
|
692
|
+
<div class="tags">
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
</div><table class="source_code">
|
|
696
|
+
<tr>
|
|
697
|
+
<td>
|
|
698
|
+
<pre class="lines">
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
36
|
|
702
|
+
37
|
|
703
|
+
38</pre>
|
|
704
|
+
</td>
|
|
705
|
+
<td>
|
|
706
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 36</span>
|
|
707
|
+
|
|
708
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_engine'>engine</span>
|
|
709
|
+
<span class='ivar'>@engine</span>
|
|
710
|
+
<span class='kw'>end</span></pre>
|
|
711
|
+
</td>
|
|
712
|
+
</tr>
|
|
713
|
+
</table>
|
|
714
|
+
</div>
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
<span id=""></span>
|
|
718
|
+
<div class="method_details ">
|
|
719
|
+
<h3 class="signature " id="window-instance_method">
|
|
720
|
+
|
|
721
|
+
- (<tt>Object</tt>) <strong>window</strong> <span class="extras">(readonly)</span>
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
</h3><div class="docstring">
|
|
728
|
+
<div class="discussion">
|
|
729
|
+
|
|
730
|
+
<p>Returns the value of attribute window</p>
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
</div>
|
|
734
|
+
</div>
|
|
735
|
+
<div class="tags">
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
</div><table class="source_code">
|
|
739
|
+
<tr>
|
|
740
|
+
<td>
|
|
741
|
+
<pre class="lines">
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
40
|
|
745
|
+
41
|
|
746
|
+
42</pre>
|
|
747
|
+
</td>
|
|
748
|
+
<td>
|
|
749
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 40</span>
|
|
750
|
+
|
|
751
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_window'>window</span>
|
|
752
|
+
<span class='ivar'>@window</span>
|
|
753
|
+
<span class='kw'>end</span></pre>
|
|
754
|
+
</td>
|
|
755
|
+
</tr>
|
|
756
|
+
</table>
|
|
757
|
+
</div>
|
|
758
|
+
|
|
759
|
+
</div>
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
<div id="instance_method_details" class="method_details_list">
|
|
763
|
+
<h2>Instance Method Details</h2>
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
<div class="method_details first">
|
|
767
|
+
<h3 class="signature first" id="assign-instance_method">
|
|
768
|
+
|
|
769
|
+
- (<tt>Object</tt>) <strong>assign</strong>(name, value)
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
</h3><div class="docstring">
|
|
776
|
+
<div class="discussion">
|
|
777
|
+
<hr>
|
|
778
|
+
<hr>
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
</div>
|
|
782
|
+
</div>
|
|
783
|
+
<div class="tags">
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
</div><table class="source_code">
|
|
787
|
+
<tr>
|
|
788
|
+
<td>
|
|
789
|
+
<pre class="lines">
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
198
|
|
793
|
+
199
|
|
794
|
+
200
|
|
795
|
+
201
|
|
796
|
+
202
|
|
797
|
+
203
|
|
798
|
+
204
|
|
799
|
+
205
|
|
800
|
+
206
|
|
801
|
+
207
|
|
802
|
+
208
|
|
803
|
+
209
|
|
804
|
+
210
|
|
805
|
+
211
|
|
806
|
+
212
|
|
807
|
+
213
|
|
808
|
+
214
|
|
809
|
+
215
|
|
810
|
+
216</pre>
|
|
811
|
+
</td>
|
|
812
|
+
<td>
|
|
813
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 198</span>
|
|
814
|
+
|
|
815
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_assign'>assign</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
|
816
|
+
|
|
817
|
+
<span class='id identifier rubyid_original_value'>original_value</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
|
|
818
|
+
|
|
819
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>MDArray</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>RubySexp</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
820
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_sexp'>sexp</span> <span class='op'>!=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
821
|
+
<span class='comment'># MDArray already represented in R
|
|
822
|
+
</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_sexp'>sexp</span>
|
|
823
|
+
<span class='kw'>else</span>
|
|
824
|
+
<span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='id identifier rubyid_build_vector'>build_vector</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
|
825
|
+
<span class='kw'>end</span>
|
|
826
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span> <span class='op'>==</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
827
|
+
<span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='const'>NULL</span>
|
|
828
|
+
<span class='kw'>end</span>
|
|
829
|
+
|
|
830
|
+
<span class='ivar'>@engine</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
|
831
|
+
<span class='id identifier rubyid_original_value'>original_value</span>
|
|
832
|
+
|
|
833
|
+
<span class='kw'>end</span></pre>
|
|
834
|
+
</td>
|
|
835
|
+
</tr>
|
|
836
|
+
</table>
|
|
837
|
+
</div>
|
|
838
|
+
|
|
839
|
+
<div class="method_details ">
|
|
840
|
+
<h3 class="signature " id="build_vector-instance_method">
|
|
841
|
+
|
|
842
|
+
- (<tt>Object</tt>) <strong>build_vector</strong>(mdarray)
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
</h3><div class="docstring">
|
|
849
|
+
<div class="discussion">
|
|
850
|
+
<hr>
|
|
851
|
+
|
|
852
|
+
<p>Builds a Renjin vector from an MDArray. Should be private, but public for
|
|
853
|
+
testing.</p>
|
|
854
|
+
<hr>
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
</div>
|
|
858
|
+
</div>
|
|
859
|
+
<div class="tags">
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
</div><table class="source_code">
|
|
863
|
+
<tr>
|
|
864
|
+
<td>
|
|
865
|
+
<pre class="lines">
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
261
|
|
869
|
+
262
|
|
870
|
+
263
|
|
871
|
+
264
|
|
872
|
+
265
|
|
873
|
+
266
|
|
874
|
+
267
|
|
875
|
+
268
|
|
876
|
+
269
|
|
877
|
+
270
|
|
878
|
+
271
|
|
879
|
+
272
|
|
880
|
+
273
|
|
881
|
+
274
|
|
882
|
+
275
|
|
883
|
+
276
|
|
884
|
+
277
|
|
885
|
+
278
|
|
886
|
+
279
|
|
887
|
+
280
|
|
888
|
+
281
|
|
889
|
+
282
|
|
890
|
+
283
|
|
891
|
+
284
|
|
892
|
+
285
|
|
893
|
+
286
|
|
894
|
+
287
|
|
895
|
+
288
|
|
896
|
+
289
|
|
897
|
+
290
|
|
898
|
+
291
|
|
899
|
+
292
|
|
900
|
+
293
|
|
901
|
+
294
|
|
902
|
+
295
|
|
903
|
+
296</pre>
|
|
904
|
+
</td>
|
|
905
|
+
<td>
|
|
906
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 261</span>
|
|
907
|
+
|
|
908
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_build_vector'>build_vector</span><span class='lparen'>(</span><span class='id identifier rubyid_mdarray'>mdarray</span><span class='rparen'>)</span>
|
|
909
|
+
|
|
910
|
+
<span class='id identifier rubyid_shape'>shape</span> <span class='op'>=</span> <span class='id identifier rubyid_mdarray'>mdarray</span><span class='period'>.</span><span class='id identifier rubyid_shape'>shape</span>
|
|
911
|
+
<span class='comment'># index = mdarray.nc_array.getIndex()
|
|
912
|
+
</span> <span class='comment'># index = MDArray.index_factory(shape)
|
|
913
|
+
</span> <span class='comment'># representation of shape in R is different from shape in MDArray. Convert MDArray
|
|
914
|
+
</span> <span class='comment'># shape to R shape.
|
|
915
|
+
</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_shape'>shape</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>></span> <span class='int'>2</span><span class='rparen'>)</span>
|
|
916
|
+
<span class='id identifier rubyid_shape'>shape</span><span class='period'>.</span><span class='id identifier rubyid_reverse!'>reverse!</span>
|
|
917
|
+
<span class='id identifier rubyid_shape'>shape</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_shape'>shape</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_shape'>shape</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_shape'>shape</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
|
|
918
|
+
<span class='kw'>end</span>
|
|
919
|
+
|
|
920
|
+
<span class='comment'># AttributeMap attributes = AttributeMap.builder().setDim(new IntVector(dim)).build();
|
|
921
|
+
</span> <span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>=</span> <span class='const'>Java</span><span class='op'>::</span><span class='const'>OrgRenjinSexp</span><span class='op'>::</span><span class='const'>AttributeMap</span><span class='period'>.</span><span class='id identifier rubyid_builder'>builder</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
922
|
+
<span class='period'>.</span><span class='id identifier rubyid_setDim'>setDim</span><span class='lparen'>(</span><span class='const'>Java</span><span class='op'>::</span><span class='const'>OrgRenjinSexp</span><span class='op'>::</span><span class='const'>IntArrayVector</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>*</span><span class='lparen'>(</span><span class='id identifier rubyid_shape'>shape</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
923
|
+
|
|
924
|
+
<span class='comment'># vector = Java::RbScicom::MDDoubleVector.new(mdarray.nc_array, attributes, index,
|
|
925
|
+
</span> <span class='comment'># index.stride)
|
|
926
|
+
</span>
|
|
927
|
+
<span class='kw'>case</span> <span class='id identifier rubyid_mdarray'>mdarray</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span>
|
|
928
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>int</span><span class='tstring_end'>"</span></span>
|
|
929
|
+
<span class='id identifier rubyid_vector'>vector</span> <span class='op'>=</span> <span class='const'>Java</span><span class='op'>::</span><span class='const'>RbScicom</span><span class='op'>::</span><span class='const'>MDIntVector</span><span class='period'>.</span><span class='id identifier rubyid_factory'>factory</span><span class='lparen'>(</span><span class='id identifier rubyid_mdarray'>mdarray</span><span class='period'>.</span><span class='id identifier rubyid_nc_array'>nc_array</span><span class='comma'>,</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
|
|
930
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>double</span><span class='tstring_end'>"</span></span>
|
|
931
|
+
<span class='id identifier rubyid_vector'>vector</span> <span class='op'>=</span> <span class='const'>Java</span><span class='op'>::</span><span class='const'>RbScicom</span><span class='op'>::</span><span class='const'>MDDoubleVector</span><span class='period'>.</span><span class='id identifier rubyid_factory'>factory</span><span class='lparen'>(</span><span class='id identifier rubyid_mdarray'>mdarray</span><span class='period'>.</span><span class='id identifier rubyid_nc_array'>nc_array</span><span class='comma'>,</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
|
|
932
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>byte</span><span class='tstring_end'>"</span></span>
|
|
933
|
+
<span class='id identifier rubyid_vector'>vector</span> <span class='op'>=</span> <span class='const'>Java</span><span class='op'>::</span><span class='const'>RbScicom</span><span class='op'>::</span><span class='const'>MDLogicalVector</span><span class='period'>.</span><span class='id identifier rubyid_factory'>factory</span><span class='lparen'>(</span><span class='id identifier rubyid_mdarray'>mdarray</span><span class='period'>.</span><span class='id identifier rubyid_nc_array'>nc_array</span><span class='comma'>,</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
|
|
934
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>string</span><span class='tstring_end'>"</span></span>
|
|
935
|
+
<span class='id identifier rubyid_vector'>vector</span> <span class='op'>=</span> <span class='const'>Java</span><span class='op'>::</span><span class='const'>RbScicom</span><span class='op'>::</span><span class='const'>MDStringVector</span><span class='period'>.</span><span class='id identifier rubyid_factory'>factory</span><span class='lparen'>(</span><span class='id identifier rubyid_mdarray'>mdarray</span><span class='period'>.</span><span class='id identifier rubyid_nc_array'>nc_array</span><span class='comma'>,</span> <span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
|
|
936
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>boolean</span><span class='tstring_end'>"</span></span>
|
|
937
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Boolean vectors cannot be converted to R vectors. If you are trying to \
|
|
938
|
+
convert to an R Logical object, use a :byte MDArray</span><span class='tstring_end'>"</span></span>
|
|
939
|
+
<span class='kw'>else</span>
|
|
940
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Cannot convert MDArray </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_mdarray'>mdarray</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> to R vector</span><span class='tstring_end'>"</span></span>
|
|
941
|
+
<span class='kw'>end</span>
|
|
942
|
+
|
|
943
|
+
<span class='kw'>end</span></pre>
|
|
944
|
+
</td>
|
|
945
|
+
</tr>
|
|
946
|
+
</table>
|
|
947
|
+
</div>
|
|
948
|
+
|
|
949
|
+
<div class="method_details ">
|
|
950
|
+
<h3 class="signature " id="direct_eval-instance_method">
|
|
951
|
+
|
|
952
|
+
- (<tt>Object</tt>) <strong>direct_eval</strong>(expression)
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
</h3><div class="docstring">
|
|
959
|
+
<div class="discussion">
|
|
960
|
+
<hr>
|
|
961
|
+
|
|
962
|
+
<p>Evaluates an expression but does not wrap the return in a RubySexp. Needed
|
|
963
|
+
for intermediate evaluation done by internal methods. In principle,
|
|
964
|
+
should not be called by users.</p>
|
|
965
|
+
<hr>
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
</div>
|
|
969
|
+
</div>
|
|
970
|
+
<div class="tags">
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
</div><table class="source_code">
|
|
974
|
+
<tr>
|
|
975
|
+
<td>
|
|
976
|
+
<pre class="lines">
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
131
|
|
980
|
+
132
|
|
981
|
+
133
|
|
982
|
+
134
|
|
983
|
+
135
|
|
984
|
+
136
|
|
985
|
+
137
|
|
986
|
+
138
|
|
987
|
+
139
|
|
988
|
+
140
|
|
989
|
+
141
|
|
990
|
+
142
|
|
991
|
+
143
|
|
992
|
+
144
|
|
993
|
+
145
|
|
994
|
+
146</pre>
|
|
995
|
+
</td>
|
|
996
|
+
<td>
|
|
997
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 131</span>
|
|
998
|
+
|
|
999
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_direct_eval'>direct_eval</span><span class='lparen'>(</span><span class='id identifier rubyid_expression'>expression</span><span class='rparen'>)</span>
|
|
1000
|
+
<span class='kw'>begin</span>
|
|
1001
|
+
<span class='id identifier rubyid_ret'>ret</span> <span class='op'>=</span> <span class='ivar'>@engine</span><span class='period'>.</span><span class='id identifier rubyid_eval'>eval</span><span class='lparen'>(</span><span class='id identifier rubyid_expression'>expression</span><span class='rparen'>)</span>
|
|
1002
|
+
<span class='kw'>rescue</span> <span class='const'>Java</span><span class='op'>::</span><span class='const'>OrgRenjinEval</span><span class='op'>::</span><span class='const'>EvalException</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
|
1003
|
+
<span class='id identifier rubyid_p'>p</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
|
|
1004
|
+
<span class='kw'>ensure</span>
|
|
1005
|
+
<span class='embdoc_beg'>=begin
|
|
1006
|
+
</span><span class='embdoc'> Renjin.stack.each do |sexp|
|
|
1007
|
+
</span><span class='embdoc'> sexp.destroy
|
|
1008
|
+
</span><span class='embdoc'> end
|
|
1009
|
+
</span><span class='embdoc_end'>=end
|
|
1010
|
+
</span> <span class='kw'>end</span>
|
|
1011
|
+
|
|
1012
|
+
<span class='id identifier rubyid_ret'>ret</span>
|
|
1013
|
+
|
|
1014
|
+
<span class='kw'>end</span></pre>
|
|
1015
|
+
</td>
|
|
1016
|
+
</tr>
|
|
1017
|
+
</table>
|
|
1018
|
+
</div>
|
|
1019
|
+
|
|
1020
|
+
<div class="method_details ">
|
|
1021
|
+
<h3 class="signature " id="eval-instance_method">
|
|
1022
|
+
|
|
1023
|
+
- (<tt>Object</tt>) <strong>eval</strong>(expression)
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
</h3><div class="docstring">
|
|
1030
|
+
<div class="discussion">
|
|
1031
|
+
<hr>
|
|
1032
|
+
<hr>
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
</div>
|
|
1036
|
+
</div>
|
|
1037
|
+
<div class="tags">
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
</div><table class="source_code">
|
|
1041
|
+
<tr>
|
|
1042
|
+
<td>
|
|
1043
|
+
<pre class="lines">
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
110
|
|
1047
|
+
111
|
|
1048
|
+
112
|
|
1049
|
+
113
|
|
1050
|
+
114
|
|
1051
|
+
115
|
|
1052
|
+
116
|
|
1053
|
+
117
|
|
1054
|
+
118
|
|
1055
|
+
119
|
|
1056
|
+
120
|
|
1057
|
+
121
|
|
1058
|
+
122
|
|
1059
|
+
123</pre>
|
|
1060
|
+
</td>
|
|
1061
|
+
<td>
|
|
1062
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 110</span>
|
|
1063
|
+
|
|
1064
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_eval'>eval</span><span class='lparen'>(</span><span class='id identifier rubyid_expression'>expression</span><span class='rparen'>)</span>
|
|
1065
|
+
<span class='kw'>begin</span>
|
|
1066
|
+
<span class='id identifier rubyid_ret'>ret</span> <span class='op'>=</span> <span class='ivar'>@engine</span><span class='period'>.</span><span class='id identifier rubyid_eval'>eval</span><span class='lparen'>(</span><span class='id identifier rubyid_expression'>expression</span><span class='rparen'>)</span>
|
|
1067
|
+
<span class='kw'>rescue</span> <span class='const'>Java</span><span class='op'>::</span><span class='const'>JavaxScript</span><span class='op'>::</span><span class='const'>ScriptException</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
|
1068
|
+
<span class='id identifier rubyid_p'>p</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
|
|
1069
|
+
<span class='embdoc_beg'>=begin
|
|
1070
|
+
</span><span class='embdoc'> rescue Java::OrgRenjinParser::ParseException => e
|
|
1071
|
+
</span><span class='embdoc'> p e.message
|
|
1072
|
+
</span><span class='embdoc_end'>=end
|
|
1073
|
+
</span> <span class='kw'>end</span>
|
|
1074
|
+
|
|
1075
|
+
<span class='id identifier rubyid_ret'>ret</span>
|
|
1076
|
+
|
|
1077
|
+
<span class='kw'>end</span></pre>
|
|
1078
|
+
</td>
|
|
1079
|
+
</tr>
|
|
1080
|
+
</table>
|
|
1081
|
+
</div>
|
|
1082
|
+
|
|
1083
|
+
<div class="method_details ">
|
|
1084
|
+
<h3 class="signature " id="install__package-instance_method">
|
|
1085
|
+
|
|
1086
|
+
- (<tt>Object</tt>) <strong>install__package</strong>(name)
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
</h3><div class="docstring">
|
|
1093
|
+
<div class="discussion">
|
|
1094
|
+
<hr>
|
|
1095
|
+
<hr>
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
</div>
|
|
1099
|
+
</div>
|
|
1100
|
+
<div class="tags">
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
</div><table class="source_code">
|
|
1104
|
+
<tr>
|
|
1105
|
+
<td>
|
|
1106
|
+
<pre class="lines">
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
230
|
|
1110
|
+
231
|
|
1111
|
+
232
|
|
1112
|
+
233
|
|
1113
|
+
234
|
|
1114
|
+
235</pre>
|
|
1115
|
+
</td>
|
|
1116
|
+
<td>
|
|
1117
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 230</span>
|
|
1118
|
+
|
|
1119
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_install__package'>install__package</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1120
|
+
|
|
1121
|
+
<span class='id identifier rubyid_pm'>pm</span> <span class='op'>=</span> <span class='const'>PackageManager</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
1122
|
+
<span class='id identifier rubyid_pm'>pm</span><span class='period'>.</span><span class='id identifier rubyid_load_package'>load_package</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1123
|
+
|
|
1124
|
+
<span class='kw'>end</span></pre>
|
|
1125
|
+
</td>
|
|
1126
|
+
</tr>
|
|
1127
|
+
</table>
|
|
1128
|
+
</div>
|
|
1129
|
+
|
|
1130
|
+
<div class="method_details ">
|
|
1131
|
+
<h3 class="signature " id="library-instance_method">
|
|
1132
|
+
|
|
1133
|
+
- (<tt>Object</tt>) <strong>library</strong>(package)
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
</h3><div class="docstring">
|
|
1140
|
+
<div class="discussion">
|
|
1141
|
+
<hr>
|
|
1142
|
+
<hr>
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
</div>
|
|
1146
|
+
</div>
|
|
1147
|
+
<div class="tags">
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
</div><table class="source_code">
|
|
1151
|
+
<tr>
|
|
1152
|
+
<td>
|
|
1153
|
+
<pre class="lines">
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
241
|
|
1157
|
+
242
|
|
1158
|
+
243
|
|
1159
|
+
244
|
|
1160
|
+
245
|
|
1161
|
+
246
|
|
1162
|
+
247
|
|
1163
|
+
248
|
|
1164
|
+
249</pre>
|
|
1165
|
+
</td>
|
|
1166
|
+
<td>
|
|
1167
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 241</span>
|
|
1168
|
+
|
|
1169
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_library'>library</span><span class='lparen'>(</span><span class='id identifier rubyid_package'>package</span><span class='rparen'>)</span>
|
|
1170
|
+
|
|
1171
|
+
<span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_chdir'>chdir</span><span class='lparen'>(</span><span class='const'>SciCom</span><span class='period'>.</span><span class='id identifier rubyid_cran_dir'>cran_dir</span><span class='rparen'>)</span>
|
|
1172
|
+
<span class='id identifier rubyid_filename'>filename</span> <span class='op'>=</span> <span class='const'>SciCom</span><span class='period'>.</span><span class='id identifier rubyid_cran_dir'>cran_dir</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_package'>package</span><span class='embexpr_end'>}</span><span class='tstring_content'>.jar</span><span class='tstring_end'>"</span></span>
|
|
1173
|
+
|
|
1174
|
+
<span class='id identifier rubyid_require'>require</span> <span class='id identifier rubyid_filename'>filename</span>
|
|
1175
|
+
<span class='id identifier rubyid_eval'>eval</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>library(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_package'>package</span><span class='embexpr_end'>}</span><span class='tstring_content'>)</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
1176
|
+
|
|
1177
|
+
<span class='kw'>end</span></pre>
|
|
1178
|
+
</td>
|
|
1179
|
+
</tr>
|
|
1180
|
+
</table>
|
|
1181
|
+
</div>
|
|
1182
|
+
|
|
1183
|
+
<div class="method_details ">
|
|
1184
|
+
<h3 class="signature " id="parse-instance_method">
|
|
1185
|
+
|
|
1186
|
+
- (<tt>Object</tt>) <strong>parse</strong>(*args)
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
</h3><div class="docstring">
|
|
1193
|
+
<div class="discussion">
|
|
1194
|
+
<hr>
|
|
1195
|
+
<hr>
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
</div>
|
|
1199
|
+
</div>
|
|
1200
|
+
<div class="tags">
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
</div><table class="source_code">
|
|
1204
|
+
<tr>
|
|
1205
|
+
<td>
|
|
1206
|
+
<pre class="lines">
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
152
|
|
1210
|
+
153
|
|
1211
|
+
154
|
|
1212
|
+
155
|
|
1213
|
+
156
|
|
1214
|
+
157
|
|
1215
|
+
158
|
|
1216
|
+
159
|
|
1217
|
+
160
|
|
1218
|
+
161
|
|
1219
|
+
162
|
|
1220
|
+
163
|
|
1221
|
+
164
|
|
1222
|
+
165
|
|
1223
|
+
166
|
|
1224
|
+
167
|
|
1225
|
+
168
|
|
1226
|
+
169
|
|
1227
|
+
170
|
|
1228
|
+
171
|
|
1229
|
+
172
|
|
1230
|
+
173
|
|
1231
|
+
174
|
|
1232
|
+
175
|
|
1233
|
+
176
|
|
1234
|
+
177
|
|
1235
|
+
178
|
|
1236
|
+
179
|
|
1237
|
+
180
|
|
1238
|
+
181
|
|
1239
|
+
182
|
|
1240
|
+
183
|
|
1241
|
+
184
|
|
1242
|
+
185
|
|
1243
|
+
186
|
|
1244
|
+
187
|
|
1245
|
+
188
|
|
1246
|
+
189
|
|
1247
|
+
190
|
|
1248
|
+
191
|
|
1249
|
+
192</pre>
|
|
1250
|
+
</td>
|
|
1251
|
+
<td>
|
|
1252
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 152</span>
|
|
1253
|
+
|
|
1254
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
|
1255
|
+
|
|
1256
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='const'>Array</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
1257
|
+
|
|
1258
|
+
<span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_arg'>arg</span><span class='op'>|</span>
|
|
1259
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Numeric</span><span class='rparen'>)</span>
|
|
1260
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='id identifier rubyid_arg'>arg</span>
|
|
1261
|
+
<span class='kw'>elsif</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>String</span><span class='rparen'>)</span>
|
|
1262
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arg'>arg</span><span class='embexpr_end'>}</span><span class='tstring_content'>\"</span><span class='tstring_end'>"</span></span>
|
|
1263
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Symbol</span><span class='rparen'>)</span>
|
|
1264
|
+
<span class='id identifier rubyid_var'>var</span> <span class='op'>=</span> <span class='id identifier rubyid_eval'>eval</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
1265
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='id identifier rubyid_var'>var</span><span class='period'>.</span><span class='id identifier rubyid_r'>r</span>
|
|
1266
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>TrueClass</span><span class='rparen'>)</span>
|
|
1267
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>TRUE</span><span class='tstring_end'>"</span></span>
|
|
1268
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>FalseClass</span><span class='rparen'>)</span>
|
|
1269
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>FALSE</span><span class='tstring_end'>"</span></span>
|
|
1270
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span> <span class='op'>==</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
1271
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>NULL</span><span class='tstring_end'>"</span></span>
|
|
1272
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>NegRange</span><span class='rparen'>)</span>
|
|
1273
|
+
<span class='id identifier rubyid_final_value'>final_value</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_exclude_end?'>exclude_end?</span><span class='rparen'>)</span><span class='op'>?</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_end'>end</span> <span class='op'>-</span> <span class='int'>1</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_end'>end</span>
|
|
1274
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>-(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_begin'>begin</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_final_value'>final_value</span><span class='embexpr_end'>}</span><span class='tstring_content'>)</span><span class='tstring_end'>"</span></span>
|
|
1275
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Range</span><span class='rparen'>)</span>
|
|
1276
|
+
<span class='id identifier rubyid_final_value'>final_value</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_exclude_end?'>exclude_end?</span><span class='rparen'>)</span><span class='op'>?</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_end'>end</span> <span class='op'>-</span> <span class='int'>1</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_end'>end</span>
|
|
1277
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_begin'>begin</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_final_value'>final_value</span><span class='embexpr_end'>}</span><span class='tstring_content'>)</span><span class='tstring_end'>"</span></span>
|
|
1278
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Hash</span><span class='rparen'>)</span>
|
|
1279
|
+
<span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
|
|
1280
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='embexpr_end'>}</span><span class='tstring_content'> = </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
|
1281
|
+
<span class='kw'>end</span>
|
|
1282
|
+
<span class='kw'>elsif</span> <span class='lparen'>(</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Renjin</span><span class='op'>::</span><span class='const'>RubySexp</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>MDArray</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
1283
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'><<</span> <span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_r'>r</span>
|
|
1284
|
+
<span class='comment'># elsif
|
|
1285
|
+
</span> <span class='comment'># params << arg.inspect
|
|
1286
|
+
</span> <span class='kw'>else</span>
|
|
1287
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Unknown parameter type for R: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arg'>arg</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
|
1288
|
+
<span class='kw'>end</span>
|
|
1289
|
+
|
|
1290
|
+
<span class='kw'>end</span>
|
|
1291
|
+
|
|
1292
|
+
<span class='id identifier rubyid_params'>params</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>,</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
1293
|
+
|
|
1294
|
+
<span class='kw'>end</span></pre>
|
|
1295
|
+
</td>
|
|
1296
|
+
</tr>
|
|
1297
|
+
</table>
|
|
1298
|
+
</div>
|
|
1299
|
+
|
|
1300
|
+
<div class="method_details ">
|
|
1301
|
+
<h3 class="signature " id="pull-instance_method">
|
|
1302
|
+
|
|
1303
|
+
- (<tt>Object</tt>) <strong>pull</strong>(name)
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
</h3><div class="docstring">
|
|
1310
|
+
<div class="discussion">
|
|
1311
|
+
<hr>
|
|
1312
|
+
<hr>
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
</div>
|
|
1316
|
+
</div>
|
|
1317
|
+
<div class="tags">
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
</div><table class="source_code">
|
|
1321
|
+
<tr>
|
|
1322
|
+
<td>
|
|
1323
|
+
<pre class="lines">
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
222
|
|
1327
|
+
223
|
|
1328
|
+
224</pre>
|
|
1329
|
+
</td>
|
|
1330
|
+
<td>
|
|
1331
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 222</span>
|
|
1332
|
+
|
|
1333
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_pull'>pull</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1334
|
+
<span class='id identifier rubyid_eval'>eval</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1335
|
+
<span class='kw'>end</span></pre>
|
|
1336
|
+
</td>
|
|
1337
|
+
</tr>
|
|
1338
|
+
</table>
|
|
1339
|
+
</div>
|
|
1340
|
+
|
|
1341
|
+
<div class="method_details ">
|
|
1342
|
+
<h3 class="signature " id="start-instance_method">
|
|
1343
|
+
|
|
1344
|
+
- (<tt>Object</tt>) <strong>start</strong>(stage)
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
</h3><table class="source_code">
|
|
1351
|
+
<tr>
|
|
1352
|
+
<td>
|
|
1353
|
+
<pre class="lines">
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
43
|
|
1357
|
+
44
|
|
1358
|
+
45
|
|
1359
|
+
46
|
|
1360
|
+
47
|
|
1361
|
+
48
|
|
1362
|
+
49
|
|
1363
|
+
50
|
|
1364
|
+
51
|
|
1365
|
+
52
|
|
1366
|
+
53
|
|
1367
|
+
54
|
|
1368
|
+
55
|
|
1369
|
+
56
|
|
1370
|
+
57</pre>
|
|
1371
|
+
</td>
|
|
1372
|
+
<td>
|
|
1373
|
+
<pre class="code"><span class="info file"># File 'lib/nashorn/nashorn.rb', line 43</span>
|
|
1374
|
+
|
|
1375
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_start'>start</span><span class='lparen'>(</span><span class='id identifier rubyid_stage'>stage</span><span class='rparen'>)</span>
|
|
1376
|
+
|
|
1377
|
+
<span class='comment'># Create a WebView and get a web_engine
|
|
1378
|
+
</span> <span class='ivar'>@browser</span> <span class='op'>=</span> <span class='const'>WebView</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
1379
|
+
<span class='ivar'>@window</span> <span class='op'>=</span> <span class='id identifier rubyid_browser'>browser</span><span class='period'>.</span><span class='id identifier rubyid_engine'>engine</span><span class='period'>.</span><span class='id identifier rubyid_executeScript'>executeScript</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>window</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
1380
|
+
<span class='ivar'>@web_engine</span> <span class='op'>=</span> <span class='id identifier rubyid_browser'>browser</span><span class='period'>.</span><span class='id identifier rubyid_getEngine'>getEngine</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
1381
|
+
<span class='ivar'>@web_engine</span><span class='period'>.</span><span class='id identifier rubyid_setJavaScriptEnabled'>setJavaScriptEnabled</span><span class='lparen'>(</span><span class='kw'>true</span><span class='rparen'>)</span>
|
|
1382
|
+
|
|
1383
|
+
<span class='comment'># Create a Nashorn engine
|
|
1384
|
+
</span> <span class='id identifier rubyid_factory'>factory</span> <span class='op'>=</span> <span class='const'>Java</span><span class='op'>::</span><span class='const'>JavaxScript</span><span class='period'>.</span><span class='const'>ScriptEngineManager</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
1385
|
+
<span class='ivar'>@engine</span> <span class='op'>=</span> <span class='id identifier rubyid_factory'>factory</span><span class='period'>.</span><span class='id identifier rubyid_getEngineByName'>getEngineByName</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>nashorn</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
1386
|
+
|
|
1387
|
+
<span class='comment'># JSAdapter.new
|
|
1388
|
+
</span>
|
|
1389
|
+
<span class='kw'>end</span></pre>
|
|
1390
|
+
</td>
|
|
1391
|
+
</tr>
|
|
1392
|
+
</table>
|
|
1393
|
+
</div>
|
|
1394
|
+
|
|
1395
|
+
</div>
|
|
1396
|
+
|
|
1397
|
+
</div>
|
|
1398
|
+
|
|
1399
|
+
<div id="footer">
|
|
1400
|
+
Generated on Thu Jun 2 13:11:21 2016 by
|
|
1401
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1402
|
+
0.8.7.6 (ruby-2.3.0).
|
|
1403
|
+
</div>
|
|
1404
|
+
|
|
1405
|
+
</body>
|
|
1406
|
+
</html>
|