Permalink
Browse files

Add convinius/globals

  • Loading branch information...
1 parent 9ddace7 commit f0baae3e593a6e886a7b114a93c575267279a8c2 @rkh committed Jan 26, 2011
Showing with 10 additions and 0 deletions.
  1. +6 −0 README.md
  2. +4 −0 lib/convinius/globals.rb
View
@@ -45,6 +45,12 @@ A more realistic example:
include Awesome
end
+Import constants from Rubinius
+------------------------------
+in: `convinius/globals`
+
+Defines global constants `Tuple` and `Fiber`.
+
Convenience for Rubinius::Generator
-----------------------------------
in: `convinius/generator`
View
@@ -0,0 +1,4 @@
+require 'fiber'
+
+Tuple = Rubinius::Tuple unless defined? Tuple
+Fiber = Rubinius::Fiber unless defined? Fiber

0 comments on commit f0baae3

Please sign in to comment.