Skip to content
This repository
Browse code

moved join.rb to library, which is rbx's stdlib dir. code in stdlib (…

…imported from MRI) should be migrated to library and modified as needed to make it run under rbx. added library to load path before stdlib so rbx library will be found before MRI imported stdlib.
  • Loading branch information...
commit 8b883b9c528ac478d482b92cb28c3588e8df0800 1 parent 3698133
Brian Shirai brixen authored
2  kernel/bootstrap/global.rb
@@ -3,7 +3,7 @@
3 3 :$/ => "\n", # Input record separator
4 4 :$\ => nil, # Output record separator
5 5 :$> => STDOUT,
6   - :$: => [".", "runtime/compiler.rba", "lib", "stdlib"],
  6 + :$: => [".", "runtime/compiler.rba", "lib", "library", "stdlib"],
7 7 :$" => [],
8 8 :$, => '', # Output field separator
9 9 :$stderr => STDERR,
2  stdlib/join.rb → library/join.rb
@@ -50,7 +50,7 @@ class << c
50 50 private :chord, :async, :sync, :__defchannels__
51 51 end
52 52
53   - c.class_eval &block
  53 + c.class_eval(&block)
54 54 c.instance_eval { @chords.reverse! }
55 55
56 56 @chords.freeze
BIN  runtime/library.rba
Binary file not shown

0 comments on commit 8b883b9

Please sign in to comment.
Something went wrong with that request. Please try again.