lib/tdiary/configuration.rb in tdiary-5.0.2 vs lib/tdiary/configuration.rb in tdiary-5.0.3

- old
+ new

@@ -37,27 +37,27 @@ def delete( key ) @options.delete( key ) @options2.delete( key ) end - # backword compatibility, returns NOT mobile phone always + # backward compatibility, returns NOT mobile phone always def mobile_agent? false end - # backword compatibility, returns NOT smartphone always + # backward compatibility, returns NOT smartphone always def smartphone? false end alias iphone? smartphone? - # backword compatibility, you can use bot? or @conf.bot =~ @cgi.user_agent + # backward compatibility, you can use bot? or @conf.bot =~ @cgi.user_agent def bot? @bot =~ @request.user_agent end - # backword compatibility, you can use TDiary::ViewHelper#base_url + # backward compatibility, you can use TDiary::ViewHelper#base_url def base_url if @options['base_url'] && @options['base_url'].length > 0 @options['base_url'] elsif @request @request.base_url @@ -229,10 +229,10 @@ (class << self; self; end).class_eval { attr_accessor m[0] } if m.length == 1 nil end end - # backword compatibility + # backward compatibility Config = Configuration end # Local Variables: # mode: ruby