Sha256: 14c22462d9df8bcf4c4696c0f2e1314ceaf07023addccdb53c4b97b00bafb1fb

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

=begin
  you have to load this file from your projects' environment.rb, which
  will use common functionality:
  WatirSplash::Util.load_common

  add all your require statements into this file to avoid unnecessary
  code in your other projects' files

  by default everything, which is not a spec file, will be loaded
=end

local_dir = File.join(File.dirname(__FILE__), "**/*.rb")
filtered_ruby_files = Dir.glob(local_dir).delete_if do |file|
  File.directory?(file) || File.basename(file) =~ /(config|_spec)\.rb$/
end
require_all filtered_ruby_files
require_rel "config.rb"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watirsplash-0.1.9 templates/common/environment.rb