lib/shakespeare/settings.rb in shakespeare-0.2.2 vs lib/shakespeare/settings.rb in shakespeare-0.3.0
- old
+ new
@@ -1,30 +1,38 @@
-module Shakespeare
- class Settings
- class << self
- def layout
- @layout ||= 'admin'
- end
-
- def layout=(layout_choice)
- @layout = layout_choice
- end
-
- def before_filters
- @before_filters ||= []
- end
-
- def before_filters=(filters)
- @before_filters ||= filters
- end
-
- def allow_anonymous
- @allow_anonymous ||= false
- end
-
- def allow_anonymous=(boolean)
- @allow_anonymous = boolean
- end
- end
- end
-
+module Shakespeare
+ class Settings
+ class << self
+ def layout
+ @layout ||= 'admin'
+ end
+
+ def layout=(layout_choice)
+ @layout = layout_choice
+ end
+
+ def before_filters
+ @before_filters ||= []
+ end
+
+ def before_filters=(filters)
+ @before_filters ||= filters
+ end
+
+ def allow_anonymous
+ @allow_anonymous ||= false
+ end
+
+ def allow_anonymous=(boolean)
+ @allow_anonymous = boolean
+ end
+
+ def format_method
+ @format_method ||= 'simple_format'
+ end
+
+ def format_method=(format_method_choice)
+ @format_method = format_method_choice
+ end
+ end
+ end
+
end
\ No newline at end of file