Class: Rosette::Client::Commands::StatusCommandArgs
- Inherits:
-
Struct
- Object
- Struct
- Rosette::Client::Commands::StatusCommandArgs
- Defined in:
- lib/rosette/client/commands/status_command.rb
Instance Attribute Summary collapse
-
#ref ⇒ Object
Returns the value of attribute ref.
Class Method Summary collapse
Instance Attribute Details
#ref ⇒ Object
Returns the value of attribute ref
9 10 11 |
# File 'lib/rosette/client/commands/status_command.rb', line 9 def ref @ref end |
Class Method Details
.from_argv(argv, repo) ⇒ Object
10 11 12 |
# File 'lib/rosette/client/commands/status_command.rb', line 10 def self.from_argv(argv, repo) new(repo.rev_parse(argv[0] || repo.get_head)) end |