Class: Diffhub::Cli
- Inherits:
-
Object
- Object
- Diffhub::Cli
- Defined in:
- lib/diffhub/cli.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#github ⇒ Object
readonly
Returns the value of attribute github.
Instance Method Summary collapse
- #execute! ⇒ Object
-
#initialize(args = []) ⇒ Cli
constructor
A new instance of Cli.
Constructor Details
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
3 4 5 |
# File 'lib/diffhub/cli.rb', line 3 def args @args end |
#github ⇒ Object (readonly)
Returns the value of attribute github.
3 4 5 |
# File 'lib/diffhub/cli.rb', line 3 def github @github end |
Instance Method Details
#execute! ⇒ Object
10 11 12 |
# File 'lib/diffhub/cli.rb', line 10 def execute! github.upload_diff! end |