Module: Crags
- Defined in:
- lib/crags.rb,
lib/crags/fetch.rb,
lib/crags/proxy.rb,
lib/crags/runner.rb,
lib/crags/searcher.rb
Defined Under Namespace
Modules: Fetch, Proxy, Searcher
Classes: Runner
Constant Summary
collapse
- VERSION =
'1.4.9'
- LIBPATH =
::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
- PATH =
::File.dirname(LIBPATH) + ::File::SEPARATOR
- COUNTRIES =
[
'jp',
'ar',
'bd',
'br',
'ca',
'cl',
'co',
'cr',
'cz',
'de',
'eg',
'hu',
'id',
'ie',
'il',
'lb',
'my',
'nl',
'nz',
'no',
'pk',
'pa',
'ru',
'th',
'ae',
'us',
've',
'vn'
]
Class Method Summary
collapse
Class Method Details
.libpath(*args) ⇒ Object
15
16
17
|
# File 'lib/crags.rb', line 15
def self.libpath( *args )
args.empty? ? LIBPATH : ::File.join(LIBPATH, *args)
end
|
.path(*args) ⇒ Object
19
20
21
|
# File 'lib/crags.rb', line 19
def self.path( *args )
args.empty? ? PATH : ::File.join(PATH, *args)
end
|
.version ⇒ Object
11
12
13
|
# File 'lib/crags.rb', line 11
def self.version
VERSION
end
|