module MxxRu::Externals::Impl::WebDownloaderOptions
Public Instance Methods
all_downloader_options()
click to toggle source
# File lib/mxx_ru/externals.rb, line 172 def all_downloader_options downloader_option_storage end
downloader_option(downloader_id, *values)
click to toggle source
# File lib/mxx_ru/externals.rb, line 164 def downloader_option(downloader_id, *values) downloader_option_storage()[downloader_id].push(*values) end
downloader_options_for(downloader_id)
click to toggle source
# File lib/mxx_ru/externals.rb, line 168 def downloader_options_for(downloader_id) downloader_option_storage()[downloader_id] end
Private Instance Methods
downloader_option_storage()
click to toggle source
# File lib/mxx_ru/externals.rb, line 177 def downloader_option_storage @downloader_options = Hash.new{|h,k| h[k] = []} unless @downloader_options @downloader_options end