Sha256: 81d44853bada63d43d4c9ccd0862f291515d69c2e27b1837be10116b15d08327

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents


# TODO investigate potential gem that might this require_all

base = File.join(File.dirname(__FILE__), 'models')
  
Dir[ File.join(base, '*.rb') ].each do |file| 
  require File.join(base, File.basename(file, File.extname(file) ))
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datashift-0.11.1 spec/fixtures/test_model_defs.rb
datashift-0.11.0 spec/fixtures/test_model_defs.rb
datashift-0.10.2 spec/fixtures/test_model_defs.rb