# File lib/ramaze/helper/localize.rb, line 112 112: def locales(fallback = nil) 113: locales = [parse, fallback].flatten.uniq 114: ::Locale::TagList.new(locales) 115: end
# File lib/ramaze/helper/localize.rb, line 117 117: def parse 118: parse_params || parse_session || parse_cookie || parse_header 119: end
# File lib/ramaze/helper/localize.rb, line 136 136: def parse_header 137: request.accept_language.map{|lang| 138: ::Locale::Tag.parse(lang) } 139: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.