Permalink
Browse files

configurations -> configuration.

  • Loading branch information...
1 parent 1203531 commit 3ec4d44665998f05f68d6c3a539b39b0f867afc4 @kou kou committed Dec 22, 2010
Showing with 5 additions and 5 deletions.
  1. +4 −4 app.rb
  2. +1 −1 config.ru
View
8 app.rb
@@ -16,18 +16,18 @@
include ERB::Util
-@@configurations = {
+@@configuration = {
:debug => false,
:rendering_mode => :big,
}
-@@configurations[:debug] = true if ENV["RACK_ENV"] == "development"
+@@configuration[:debug] = true if ENV["RACK_ENV"] == "development"
def debug?
- @@configurations[:debug]
+ @@configuration[:debug]
end
def rendering_mode
- @@configurations[:rendering_mode]
+ @@configuration[:rendering_mode]
end
def jigoku?
View
@@ -2,6 +2,6 @@
require './app'
-# @@configurations[:rendering_mode] = :jigoku
+# @@configuration[:rendering_mode] = :jigoku
run Sinatra::Application

0 comments on commit 3ec4d44

Please sign in to comment.