class Pod::Command::Unlink
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
# File lib/pod/command/unlink.rb, line 23 def initialize(argv) @pod = argv.shift_argument() super end
Public Instance Methods
run()
click to toggle source
if no pod is given from the command line then we will unregister the pod from the registered links
if a pod name is given from the command line then we will unlink the given pod from the project
# File lib/pod/command/unlink.rb, line 35 def run unless @pod.nil? Pod::Command::Links.unlink @pod else Pod::Command::Links.unregister end end