Class: Hubeye::Server::Strategy::AddRepo
- Inherits:
-
Object
- Object
- Hubeye::Server::Strategy::AddRepo
- Defined in:
- lib/server/hubeye_server.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
398 399 400 401 402 403 404 405 406 407 |
# File 'lib/server/hubeye_server.rb', line 398 def call if @options and @options[:pwd] @session.repo_name = File.dirname(File.('.')) elsif @options and @options[:fullpath] @session.username, @session.repo_name = @input.split('/') else @session.repo_name = @input end add_repo end |