Sha256: 5a5783112e9cd83a7eea4bd5215572ef884b4b25db1d404ddeca046f677fa545

Contents?: true

Size: 188 Bytes

Versions: 21

Compression:

Stored size: 188 Bytes

Contents

# frozen_string_literal: true

models = File.expand_path('spec/support/models/*.rb')
Dir[models].sort.each do |file|
  autoload file.gsub(%r{.*\/(.*)\..*}, '\1').camelize.to_sym, file
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
arstotzka-1.0.2 spec/support/models.rb