Module: OLD
- Defined in:
- lib/dom.rb,
lib/locale.rb,
lib/roff-builder.rb,
lib/scp-article-loader.rb
Defined Under Namespace
Modules: DOM, SITE Classes: RoffBuilder, SCPArticleLoader
Instance Method Summary collapse
Instance Method Details
#get_endpoint(site) ⇒ Object
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/locale.rb', line 35 def get_endpoint(site) case site when SITE::CN "www.scp-wiki-cn.org" when SITE::ES "lafundacionscp.wikidot.com" when SITE::FR "fondationscp.wikidot.com" when SITE::PL, SITE::TH "scp-#{site.to_s}.wikidot.com" when SITE::RU "scpfoundation.ru" else "#{site.to_s}.scp-wiki.net" end end |