mirror of
https://github.com/jimeh/skyhook.git
synced 2026-02-19 11:06:38 +00:00
15 lines
223 B
Ruby
15 lines
223 B
Ruby
class CheckoutAction < Action
|
|
|
|
def default
|
|
puts "please specify project"
|
|
end
|
|
|
|
def method_missing(project, *args)
|
|
Projects.send(project).checkout(*args)
|
|
end
|
|
|
|
def all
|
|
Projects.checkout
|
|
end
|
|
|
|
end |