Class: Epodder::Fetch
Instance Method Summary collapse
- #fetch(args) ⇒ Object
-
#initialize ⇒ Fetch
constructor
A new instance of Fetch.
Methods inherited from Verb
#add_command, #each_argument, #lookup_args, #verb_struct
Constructor Details
#initialize ⇒ Fetch
Returns a new instance of Fetch.
3 4 5 |
# File 'lib/verb/fetch.rb', line 3 def initialize # Nothing to do in initalize end |
Instance Method Details
#fetch(args) ⇒ Object
7 8 9 10 |
# File 'lib/verb/fetch.rb', line 7 def fetch(args) Update.new.update args Download.new.download args end |