Module: Aurb
- Defined in:
- lib/aurb/base.rb,
lib/aurb/main.rb,
lib/aurb/version.rb,
lib/aurb/core_ext/hash.rb,
lib/aurb/core_ext/string.rb
Defined Under Namespace
Modules: Base, CoreExt Classes: DownloadError, Error, Main, NoResultsError
Constant Summary collapse
- SavePath =
The path to save downloaded packages to.
ENV['HOME'] + '/abs'
- SearchPath =
The URL to retrieve package info from.
lambda {|t, a| "http://aur.archlinux.org/rpc.php?type=#{t}&arg=#{a}"}
- DownloadPath =
The URL to retrieve packages from.
lambda {|p| "http://aur.archlinux.org/packages/#{p}/#{p}.tar.gz"}
- VERSION =
'1.4.1'
Class Method Summary collapse
-
.method_missing(method, args, &block) ⇒ Object
Check if
Base
responds to this unknown method and delegate the method toBase
if so.
Class Method Details
.method_missing(method, args, &block) ⇒ Object
Check if Base
responds to this unknown method and delegate the method to Base
if so.
137 138 139 140 141 142 143 |
# File 'lib/aurb/base.rb', line 137 def self.method_missing(method, args, &block) if Base.respond_to?(method) Base.send method, *args, &block else super end end |