Permalink
Browse files

Don't create a global constant we only need once

We shouldn't litter ;)
  • Loading branch information...
namelessjon committed Jun 11, 2010
1 parent d5f09e8 commit c8d303cd154a22c2ce74fca88833db26ac6492bd
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/data_mapper.rb
View
@@ -1,4 +1,4 @@
-DEPENDENCIES = %w[
+%w[
dm-core
dm-aggregates
dm-constraints
@@ -8,8 +8,6 @@
dm-timestamps
dm-validations
dm-types
-]
-
-DEPENDENCIES.each do |lib|
+].each do |lib|
require lib
end

0 comments on commit c8d303c

Please sign in to comment.