Skip to content

Commit

Permalink
change require to load so that files for reload after generation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrequina committed Apr 27, 2016
1 parent 8ff80be commit 28bb9ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fhir_models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

# Require the generated code
Dir.glob(File.join(root, 'lib','fhir','*.rb')).each do |file|
require file
load file
end
Dir.glob(File.join(root, 'lib','fhir','**','*.rb')).each do |file|
require file
load file
end

0 comments on commit 28bb9ac

Please sign in to comment.