Skip to content

Commit

Permalink
Load config.yml if it exists on startup.
Browse files Browse the repository at this point in the history
(cherry picked from commit 2ecaaa0)

Signed-off-by: Nicolas Sanguinetti <contacto@nicolassanguinetti.info>
  • Loading branch information
defunkt authored and foca committed Nov 17, 2008
1 parent ac7ff96 commit c680bf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.rb
Expand Up @@ -12,6 +12,8 @@
include Integrity

configure do
config = Integrity.root / "config.yml"
Integrity.config = config if File.exists? config
Integrity.new
end

Expand Down

0 comments on commit c680bf8

Please sign in to comment.