File: generator.rb

package info (click to toggle)
jruby 1.5.6-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 43,808 kB
  • sloc: ruby: 398,491; java: 170,144; yacc: 3,782; xml: 2,529; sh: 299; tcl: 40; makefile: 28; ansic: 23
file content (4 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (4)
1
2
3
4
# Because generator is needed by Enumerator in 1.8.7 mode, we moved generator
# logic to src/bultin/generator_internal.rb and require that here and from
# within JRuby, so that Enumerator works even without stdlib present.
require 'generator_internal'