Class: Pod::Command::RepoSvn::Update
- Inherits:
-
Pod::Command::RepoSvn
- Object
- Pod::Command
- Pod::Command::RepoSvn
- Pod::Command::RepoSvn::Update
- Defined in:
- lib/pod/command/repo_svn.rb
Overview
———————————————————————–#
Instance Method Summary collapse
-
#initialize(argv) ⇒ Update
constructor
A new instance of Update.
- #run ⇒ Object
- #validate! ⇒ Object
Methods inherited from Pod::Command::RepoSvn
Constructor Details
#initialize(argv) ⇒ Update
Returns a new instance of Update.
61 62 63 64 |
# File 'lib/pod/command/repo_svn.rb', line 61 def initialize(argv) @name = argv.shift_argument super end |
Instance Method Details
#run ⇒ Object
73 74 75 |
# File 'lib/pod/command/repo_svn.rb', line 73 def run update(@name, true) #todo: dusty end |
#validate! ⇒ Object
66 67 68 69 70 71 |
# File 'lib/pod/command/repo_svn.rb', line 66 def validate! super unless @name help! "Updating a spec-repo needs a `NAME`." end end |