Method: Spec::Runner::ExampleGroupRunner#load_files
- Defined in:
- lib/spec/runner/example_group_runner.rb
#load_files(files) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/spec/runner/example_group_runner.rb', line 8 def load_files(files) $KCODE = 'u' if RUBY_VERSION.to_f < 1.9 # It's important that loading files (or choosing not to) stays the # responsibility of the ExampleGroupRunner. Some implementations (like) # the one using DRb may choose *not* to load files, but instead tell # someone else to do it over the wire. files.each do |file| load file end end |