lib/milkode/cdweb/lib/web_setting.rb in milkode-1.8.6 vs lib/milkode/cdweb/lib/web_setting.rb in milkode-1.8.7
- old
+ new
@@ -21,10 +21,16 @@
:favicon => "/images/favicon.ico",
:display_about_milkode => true,
:hide_update_button => false,
+
+ :eliminate_extname => "",
+
+ :layout_setting => {
+ :tab_width => 8
+ }
}
def self.hash_method(name)
define_method(name) do
if @data[name]
@@ -62,8 +68,11 @@
''
end
end
hash_method :hide_update_button
+ hash_method :eliminate_extname
+
+ hash_method :layout_setting
end
end