Sha256: de848ff4203cf7a1c57bdea704835aa207d6a026691ad75d704ed40a4a97d910

Contents?: true

Size: 156 Bytes

Versions: 4

Compression:

Stored size: 156 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
arstotzka-1.0.1 spec/support/models.rb
arstotzka-1.0.0 spec/support/models.rb
json_parser-1.3.1 spec/support/models.rb
json_parser-1.3.0 spec/support/models.rb