Skip to content
Browse files

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...
1 parent 3698133 commit 8b883b9c528ac478d482b92cb28c3588e8df0800 @brixen brixen committed Jun 16, 2007
Showing with 2 additions and 2 deletions.
  1. +1 −1 kernel/bootstrap/global.rb
  2. +1 −1 {stdlib → library}/join.rb
  3. BIN runtime/library.rba
View
2 kernel/bootstrap/global.rb
@@ -3,7 +3,7 @@
:$/ => "\n", # Input record separator
:$\ => nil, # Output record separator
:$> => STDOUT,
- :$: => [".", "runtime/compiler.rba", "lib", "stdlib"],
+ :$: => [".", "runtime/compiler.rba", "lib", "library", "stdlib"],
:$" => [],
:$, => '', # Output field separator
:$stderr => STDERR,
View
2 stdlib/join.rb → library/join.rb
@@ -50,7 +50,7 @@ class << c
private :chord, :async, :sync, :__defchannels__
end
- c.class_eval &block
+ c.class_eval(&block)
c.instance_eval { @chords.reverse! }
@chords.freeze
View
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.