ruby2d 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/opal.js +42 -42
- data/assets/simple2d.js +422 -223
- data/bin/ruby2d +26 -24
- data/ext/ruby2d/extconf.rb +6 -6
- data/ext/ruby2d/ruby2d-opal.rb +133 -69
- data/ext/ruby2d/ruby2d.c +246 -114
- data/lib/ruby2d/application.rb +14 -18
- data/lib/ruby2d/color.rb +50 -12
- data/lib/ruby2d/dsl.rb +12 -16
- data/lib/ruby2d/exceptions.rb +0 -9
- data/lib/ruby2d/image.rb +25 -28
- data/lib/ruby2d/line.rb +64 -0
- data/lib/ruby2d/music.rb +30 -5
- data/lib/ruby2d/quad.rb +52 -44
- data/lib/ruby2d/rectangle.rb +24 -13
- data/lib/ruby2d/renderable.rb +35 -0
- data/lib/ruby2d/sound.rb +15 -5
- data/lib/ruby2d/sprite.rb +21 -19
- data/lib/ruby2d/square.rb +14 -9
- data/lib/ruby2d/text.rb +36 -32
- data/lib/ruby2d/triangle.rb +46 -44
- data/lib/ruby2d/version.rb +1 -1
- data/lib/ruby2d/window.rb +148 -120
- data/lib/ruby2d.rb +2 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b09f451947f3fc56b0cb4dd9db0456742dbee214
|
4
|
+
data.tar.gz: 9eb11dbc8fe45f524bf839805b605b8fc2cf500a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b861dc80da37d1462cb1441161fed07c97cc83d4b9f5b0b028e0c8192d3d23bfd330ace7b59a7da0d61afdd56c6e6dffffdf26a670bc53279a39fcba88d2f1c9
|
7
|
+
data.tar.gz: 2b45106ba0dce7be767660096b777388aa75171551c34f433cef167d9ccd700e579fb70d8b551cd58fcb3057f077c834f865bf4d356f4b56b1622bd3ea5ec2e9
|
data/assets/opal.js
CHANGED
@@ -2061,7 +2061,7 @@ if (typeof(window) !== 'undefined') {
|
|
2061
2061
|
Opal.global = window;
|
2062
2062
|
}
|
2063
2063
|
Opal.loaded(["corelib/runtime"]);
|
2064
|
-
/* Generated by Opal 0.10.
|
2064
|
+
/* Generated by Opal 0.10.4 */
|
2065
2065
|
Opal.modules["corelib/helpers"] = function(Opal) {
|
2066
2066
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
2067
2067
|
|
@@ -2244,7 +2244,7 @@ Opal.modules["corelib/helpers"] = function(Opal) {
|
|
2244
2244
|
})($scope.base)
|
2245
2245
|
};
|
2246
2246
|
|
2247
|
-
/* Generated by Opal 0.10.
|
2247
|
+
/* Generated by Opal 0.10.4 */
|
2248
2248
|
Opal.modules["corelib/module"] = function(Opal) {
|
2249
2249
|
function $rb_lt(lhs, rhs) {
|
2250
2250
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
@@ -3068,7 +3068,7 @@ if (o == null) o = nil;if (c == null) c = nil;
|
|
3068
3068
|
})($scope.base, null)
|
3069
3069
|
};
|
3070
3070
|
|
3071
|
-
/* Generated by Opal 0.10.
|
3071
|
+
/* Generated by Opal 0.10.4 */
|
3072
3072
|
Opal.modules["corelib/class"] = function(Opal) {
|
3073
3073
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
|
3074
3074
|
|
@@ -3169,7 +3169,7 @@ Opal.modules["corelib/class"] = function(Opal) {
|
|
3169
3169
|
})($scope.base, null);
|
3170
3170
|
};
|
3171
3171
|
|
3172
|
-
/* Generated by Opal 0.10.
|
3172
|
+
/* Generated by Opal 0.10.4 */
|
3173
3173
|
Opal.modules["corelib/basic_object"] = function(Opal) {
|
3174
3174
|
function $rb_gt(lhs, rhs) {
|
3175
3175
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -3384,7 +3384,7 @@ Opal.modules["corelib/basic_object"] = function(Opal) {
|
|
3384
3384
|
})($scope.base, null)
|
3385
3385
|
};
|
3386
3386
|
|
3387
|
-
/* Generated by Opal 0.10.
|
3387
|
+
/* Generated by Opal 0.10.4 */
|
3388
3388
|
Opal.modules["corelib/kernel"] = function(Opal) {
|
3389
3389
|
function $rb_gt(lhs, rhs) {
|
3390
3390
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -4825,7 +4825,7 @@ if (obj == null) obj = nil;
|
|
4825
4825
|
})($scope.base, null);
|
4826
4826
|
};
|
4827
4827
|
|
4828
|
-
/* Generated by Opal 0.10.
|
4828
|
+
/* Generated by Opal 0.10.4 */
|
4829
4829
|
Opal.modules["corelib/error"] = function(Opal) {
|
4830
4830
|
function $rb_gt(lhs, rhs) {
|
4831
4831
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -5217,22 +5217,22 @@ Opal.modules["corelib/error"] = function(Opal) {
|
|
5217
5217
|
})($scope.base, null);
|
5218
5218
|
};
|
5219
5219
|
|
5220
|
-
/* Generated by Opal 0.10.
|
5220
|
+
/* Generated by Opal 0.10.4 */
|
5221
5221
|
Opal.modules["corelib/constants"] = function(Opal) {
|
5222
5222
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
|
5223
5223
|
|
5224
5224
|
Opal.cdecl($scope, 'RUBY_PLATFORM', "opal");
|
5225
5225
|
Opal.cdecl($scope, 'RUBY_ENGINE', "opal");
|
5226
|
-
Opal.cdecl($scope, 'RUBY_VERSION', "2.2.
|
5227
|
-
Opal.cdecl($scope, 'RUBY_ENGINE_VERSION', "0.10.
|
5228
|
-
Opal.cdecl($scope, 'RUBY_RELEASE_DATE', "
|
5226
|
+
Opal.cdecl($scope, 'RUBY_VERSION', "2.2.6");
|
5227
|
+
Opal.cdecl($scope, 'RUBY_ENGINE_VERSION', "0.10.4");
|
5228
|
+
Opal.cdecl($scope, 'RUBY_RELEASE_DATE', "2017-05-06");
|
5229
5229
|
Opal.cdecl($scope, 'RUBY_PATCHLEVEL', 0);
|
5230
5230
|
Opal.cdecl($scope, 'RUBY_REVISION', 0);
|
5231
5231
|
Opal.cdecl($scope, 'RUBY_COPYRIGHT', "opal - Copyright (C) 2013-2015 Adam Beynon");
|
5232
5232
|
return Opal.cdecl($scope, 'RUBY_DESCRIPTION', "opal " + ($scope.get('RUBY_ENGINE_VERSION')) + " (" + ($scope.get('RUBY_RELEASE_DATE')) + " revision " + ($scope.get('RUBY_REVISION')) + ")");
|
5233
5233
|
};
|
5234
5234
|
|
5235
|
-
/* Generated by Opal 0.10.
|
5235
|
+
/* Generated by Opal 0.10.4 */
|
5236
5236
|
Opal.modules["opal/base"] = function(Opal) {
|
5237
5237
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
|
5238
5238
|
|
@@ -5247,7 +5247,7 @@ Opal.modules["opal/base"] = function(Opal) {
|
|
5247
5247
|
return self.$require("corelib/constants");
|
5248
5248
|
};
|
5249
5249
|
|
5250
|
-
/* Generated by Opal 0.10.
|
5250
|
+
/* Generated by Opal 0.10.4 */
|
5251
5251
|
Opal.modules["corelib/nil"] = function(Opal) {
|
5252
5252
|
function $rb_gt(lhs, rhs) {
|
5253
5253
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -5384,7 +5384,7 @@ Opal.modules["corelib/nil"] = function(Opal) {
|
|
5384
5384
|
return Opal.cdecl($scope, 'NIL', nil);
|
5385
5385
|
};
|
5386
5386
|
|
5387
|
-
/* Generated by Opal 0.10.
|
5387
|
+
/* Generated by Opal 0.10.4 */
|
5388
5388
|
Opal.modules["corelib/boolean"] = function(Opal) {
|
5389
5389
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
|
5390
5390
|
|
@@ -5471,7 +5471,7 @@ Opal.modules["corelib/boolean"] = function(Opal) {
|
|
5471
5471
|
return Opal.cdecl($scope, 'FALSE', false);
|
5472
5472
|
};
|
5473
5473
|
|
5474
|
-
/* Generated by Opal 0.10.
|
5474
|
+
/* Generated by Opal 0.10.4 */
|
5475
5475
|
Opal.modules["corelib/comparable"] = function(Opal) {
|
5476
5476
|
function $rb_gt(lhs, rhs) {
|
5477
5477
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -5582,7 +5582,7 @@ Opal.modules["corelib/comparable"] = function(Opal) {
|
|
5582
5582
|
})($scope.base)
|
5583
5583
|
};
|
5584
5584
|
|
5585
|
-
/* Generated by Opal 0.10.
|
5585
|
+
/* Generated by Opal 0.10.4 */
|
5586
5586
|
Opal.modules["corelib/regexp"] = function(Opal) {
|
5587
5587
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $gvars = Opal.gvars;
|
5588
5588
|
|
@@ -6022,7 +6022,7 @@ Opal.modules["corelib/regexp"] = function(Opal) {
|
|
6022
6022
|
})($scope.base, null);
|
6023
6023
|
};
|
6024
6024
|
|
6025
|
-
/* Generated by Opal 0.10.
|
6025
|
+
/* Generated by Opal 0.10.4 */
|
6026
6026
|
Opal.modules["corelib/string"] = function(Opal) {
|
6027
6027
|
function $rb_divide(lhs, rhs) {
|
6028
6028
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
|
@@ -7952,7 +7952,7 @@ Opal.modules["corelib/string"] = function(Opal) {
|
|
7952
7952
|
return Opal.cdecl($scope, 'Symbol', $scope.get('String'));
|
7953
7953
|
};
|
7954
7954
|
|
7955
|
-
/* Generated by Opal 0.10.
|
7955
|
+
/* Generated by Opal 0.10.4 */
|
7956
7956
|
Opal.modules["corelib/enumerable"] = function(Opal) {
|
7957
7957
|
function $rb_gt(lhs, rhs) {
|
7958
7958
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -9356,7 +9356,7 @@ if (i == null) i = nil;
|
|
9356
9356
|
})($scope.base)
|
9357
9357
|
};
|
9358
9358
|
|
9359
|
-
/* Generated by Opal 0.10.
|
9359
|
+
/* Generated by Opal 0.10.4 */
|
9360
9360
|
Opal.modules["corelib/enumerator"] = function(Opal) {
|
9361
9361
|
function $rb_plus(lhs, rhs) {
|
9362
9362
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -9979,7 +9979,7 @@ if (v == null) v = nil;
|
|
9979
9979
|
})($scope.base, null);
|
9980
9980
|
};
|
9981
9981
|
|
9982
|
-
/* Generated by Opal 0.10.
|
9982
|
+
/* Generated by Opal 0.10.4 */
|
9983
9983
|
Opal.modules["corelib/numeric"] = function(Opal) {
|
9984
9984
|
function $rb_minus(lhs, rhs) {
|
9985
9985
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -10270,7 +10270,7 @@ Opal.modules["corelib/numeric"] = function(Opal) {
|
|
10270
10270
|
})($scope.base, null);
|
10271
10271
|
};
|
10272
10272
|
|
10273
|
-
/* Generated by Opal 0.10.
|
10273
|
+
/* Generated by Opal 0.10.4 */
|
10274
10274
|
Opal.modules["corelib/array"] = function(Opal) {
|
10275
10275
|
function $rb_gt(lhs, rhs) {
|
10276
10276
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -12858,7 +12858,7 @@ if (ivar == null) ivar = nil;
|
|
12858
12858
|
})($scope.base, Array);
|
12859
12859
|
};
|
12860
12860
|
|
12861
|
-
/* Generated by Opal 0.10.
|
12861
|
+
/* Generated by Opal 0.10.4 */
|
12862
12862
|
Opal.modules["corelib/hash"] = function(Opal) {
|
12863
12863
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
|
12864
12864
|
|
@@ -13943,7 +13943,7 @@ Opal.modules["corelib/hash"] = function(Opal) {
|
|
13943
13943
|
})($scope.base, null);
|
13944
13944
|
};
|
13945
13945
|
|
13946
|
-
/* Generated by Opal 0.10.
|
13946
|
+
/* Generated by Opal 0.10.4 */
|
13947
13947
|
Opal.modules["corelib/number"] = function(Opal) {
|
13948
13948
|
function $rb_gt(lhs, rhs) {
|
13949
13949
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -14928,7 +14928,7 @@ Opal.modules["corelib/number"] = function(Opal) {
|
|
14928
14928
|
})($scope.base, $scope.get('Numeric'));
|
14929
14929
|
};
|
14930
14930
|
|
14931
|
-
/* Generated by Opal 0.10.
|
14931
|
+
/* Generated by Opal 0.10.4 */
|
14932
14932
|
Opal.modules["corelib/range"] = function(Opal) {
|
14933
14933
|
function $rb_le(lhs, rhs) {
|
14934
14934
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs <= rhs : lhs['$<='](rhs);
|
@@ -15147,7 +15147,7 @@ Opal.modules["corelib/range"] = function(Opal) {
|
|
15147
15147
|
})($scope.base, null);
|
15148
15148
|
};
|
15149
15149
|
|
15150
|
-
/* Generated by Opal 0.10.
|
15150
|
+
/* Generated by Opal 0.10.4 */
|
15151
15151
|
Opal.modules["corelib/proc"] = function(Opal) {
|
15152
15152
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
|
15153
15153
|
|
@@ -15361,7 +15361,7 @@ Opal.modules["corelib/proc"] = function(Opal) {
|
|
15361
15361
|
})($scope.base, Function)
|
15362
15362
|
};
|
15363
15363
|
|
15364
|
-
/* Generated by Opal 0.10.
|
15364
|
+
/* Generated by Opal 0.10.4 */
|
15365
15365
|
Opal.modules["corelib/method"] = function(Opal) {
|
15366
15366
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
|
15367
15367
|
|
@@ -15481,7 +15481,7 @@ Opal.modules["corelib/method"] = function(Opal) {
|
|
15481
15481
|
})($scope.base, null);
|
15482
15482
|
};
|
15483
15483
|
|
15484
|
-
/* Generated by Opal 0.10.
|
15484
|
+
/* Generated by Opal 0.10.4 */
|
15485
15485
|
Opal.modules["corelib/variables"] = function(Opal) {
|
15486
15486
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $gvars = Opal.gvars, $hash2 = Opal.hash2;
|
15487
15487
|
|
@@ -15499,7 +15499,7 @@ Opal.modules["corelib/variables"] = function(Opal) {
|
|
15499
15499
|
return $gvars.SAFE = 0;
|
15500
15500
|
};
|
15501
15501
|
|
15502
|
-
/* Generated by Opal 0.10.
|
15502
|
+
/* Generated by Opal 0.10.4 */
|
15503
15503
|
Opal.modules["opal/regexp_anchors"] = function(Opal) {
|
15504
15504
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
15505
15505
|
|
@@ -15527,7 +15527,7 @@ Opal.modules["opal/regexp_anchors"] = function(Opal) {
|
|
15527
15527
|
})($scope.base)
|
15528
15528
|
};
|
15529
15529
|
|
15530
|
-
/* Generated by Opal 0.10.
|
15530
|
+
/* Generated by Opal 0.10.4 */
|
15531
15531
|
Opal.modules["opal/mini"] = function(Opal) {
|
15532
15532
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
|
15533
15533
|
|
@@ -15550,7 +15550,7 @@ Opal.modules["opal/mini"] = function(Opal) {
|
|
15550
15550
|
return self.$require("opal/regexp_anchors");
|
15551
15551
|
};
|
15552
15552
|
|
15553
|
-
/* Generated by Opal 0.10.
|
15553
|
+
/* Generated by Opal 0.10.4 */
|
15554
15554
|
Opal.modules["corelib/string/inheritance"] = function(Opal) {
|
15555
15555
|
function $rb_plus(lhs, rhs) {
|
15556
15556
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -15795,7 +15795,7 @@ if (str == null) str = nil;
|
|
15795
15795
|
})($scope.get('String'), null);
|
15796
15796
|
};
|
15797
15797
|
|
15798
|
-
/* Generated by Opal 0.10.
|
15798
|
+
/* Generated by Opal 0.10.4 */
|
15799
15799
|
Opal.modules["corelib/string/encoding"] = function(Opal) {
|
15800
15800
|
function $rb_plus(lhs, rhs) {
|
15801
15801
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -16062,7 +16062,7 @@ if (const$ == null) const$ = nil;
|
|
16062
16062
|
})($scope.base, null);
|
16063
16063
|
};
|
16064
16064
|
|
16065
|
-
/* Generated by Opal 0.10.
|
16065
|
+
/* Generated by Opal 0.10.4 */
|
16066
16066
|
Opal.modules["corelib/math"] = function(Opal) {
|
16067
16067
|
function $rb_minus(lhs, rhs) {
|
16068
16068
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -16620,7 +16620,7 @@ Opal.modules["corelib/math"] = function(Opal) {
|
|
16620
16620
|
})($scope.base)
|
16621
16621
|
};
|
16622
16622
|
|
16623
|
-
/* Generated by Opal 0.10.
|
16623
|
+
/* Generated by Opal 0.10.4 */
|
16624
16624
|
Opal.modules["corelib/complex"] = function(Opal) {
|
16625
16625
|
function $rb_times(lhs, rhs) {
|
16626
16626
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs * rhs : lhs['$*'](rhs);
|
@@ -16988,7 +16988,7 @@ Opal.modules["corelib/complex"] = function(Opal) {
|
|
16988
16988
|
})($scope.base);
|
16989
16989
|
};
|
16990
16990
|
|
16991
|
-
/* Generated by Opal 0.10.
|
16991
|
+
/* Generated by Opal 0.10.4 */
|
16992
16992
|
Opal.modules["corelib/rational"] = function(Opal) {
|
16993
16993
|
function $rb_lt(lhs, rhs) {
|
16994
16994
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
@@ -17352,7 +17352,7 @@ Opal.modules["corelib/rational"] = function(Opal) {
|
|
17352
17352
|
})($scope.base);
|
17353
17353
|
};
|
17354
17354
|
|
17355
|
-
/* Generated by Opal 0.10.
|
17355
|
+
/* Generated by Opal 0.10.4 */
|
17356
17356
|
Opal.modules["corelib/time"] = function(Opal) {
|
17357
17357
|
function $rb_gt(lhs, rhs) {
|
17358
17358
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -18269,7 +18269,7 @@ Opal.modules["corelib/time"] = function(Opal) {
|
|
18269
18269
|
})($scope.base, Date);
|
18270
18270
|
};
|
18271
18271
|
|
18272
|
-
/* Generated by Opal 0.10.
|
18272
|
+
/* Generated by Opal 0.10.4 */
|
18273
18273
|
Opal.modules["corelib/struct"] = function(Opal) {
|
18274
18274
|
function $rb_gt(lhs, rhs) {
|
18275
18275
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -18641,7 +18641,7 @@ if (arg == null) arg = nil;
|
|
18641
18641
|
})($scope.base, null);
|
18642
18642
|
};
|
18643
18643
|
|
18644
|
-
/* Generated by Opal 0.10.
|
18644
|
+
/* Generated by Opal 0.10.4 */
|
18645
18645
|
Opal.modules["corelib/io"] = function(Opal) {
|
18646
18646
|
var $a, $b, self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $module = Opal.module, $gvars = Opal.gvars;
|
18647
18647
|
|
@@ -18784,7 +18784,7 @@ if (arg == null) arg = nil;
|
|
18784
18784
|
return $scope.get('STDERR').$extend((($scope.get('IO')).$$scope.get('Writable')));
|
18785
18785
|
};
|
18786
18786
|
|
18787
|
-
/* Generated by Opal 0.10.
|
18787
|
+
/* Generated by Opal 0.10.4 */
|
18788
18788
|
Opal.modules["corelib/main"] = function(Opal) {
|
18789
18789
|
var TMP_1, TMP_2, self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
|
18790
18790
|
|
@@ -18801,7 +18801,7 @@ Opal.modules["corelib/main"] = function(Opal) {
|
|
18801
18801
|
}, TMP_2.$$arity = 1), nil) && 'include';
|
18802
18802
|
};
|
18803
18803
|
|
18804
|
-
/* Generated by Opal 0.10.
|
18804
|
+
/* Generated by Opal 0.10.4 */
|
18805
18805
|
Opal.modules["corelib/dir"] = function(Opal) {
|
18806
18806
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
|
18807
18807
|
|
@@ -18842,7 +18842,7 @@ Opal.modules["corelib/dir"] = function(Opal) {
|
|
18842
18842
|
})($scope.base, null)
|
18843
18843
|
};
|
18844
18844
|
|
18845
|
-
/* Generated by Opal 0.10.
|
18845
|
+
/* Generated by Opal 0.10.4 */
|
18846
18846
|
Opal.modules["corelib/file"] = function(Opal) {
|
18847
18847
|
function $rb_plus(lhs, rhs) {
|
18848
18848
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -19159,7 +19159,7 @@ if (file == null) file = nil;
|
|
19159
19159
|
})($scope.base, $scope.get('IO'))
|
19160
19160
|
};
|
19161
19161
|
|
19162
|
-
/* Generated by Opal 0.10.
|
19162
|
+
/* Generated by Opal 0.10.4 */
|
19163
19163
|
Opal.modules["corelib/process"] = function(Opal) {
|
19164
19164
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
|
19165
19165
|
|
@@ -19222,7 +19222,7 @@ Opal.modules["corelib/process"] = function(Opal) {
|
|
19222
19222
|
})($scope.base, null);
|
19223
19223
|
};
|
19224
19224
|
|
19225
|
-
/* Generated by Opal 0.10.
|
19225
|
+
/* Generated by Opal 0.10.4 */
|
19226
19226
|
Opal.modules["corelib/unsupported"] = function(Opal) {
|
19227
19227
|
var TMP_30, TMP_31, self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $module = Opal.module;
|
19228
19228
|
|
@@ -19509,7 +19509,7 @@ Opal.modules["corelib/unsupported"] = function(Opal) {
|
|
19509
19509
|
}, TMP_31.$$arity = -1), nil) && 'private';
|
19510
19510
|
};
|
19511
19511
|
|
19512
|
-
/* Generated by Opal 0.10.
|
19512
|
+
/* Generated by Opal 0.10.4 */
|
19513
19513
|
(function(Opal) {
|
19514
19514
|
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
|
19515
19515
|
|