Class: Gem::Release::Cmds::Runner
- Inherits:
-
Struct
- Object
- Struct
- Gem::Release::Cmds::Runner
- Defined in:
- lib/gem/release/cmds/runner.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
writeonly
Sets the attribute args.
-
#context ⇒ Object
writeonly
Sets the attribute context.
-
#name ⇒ Object
Returns the value of attribute name.
-
#opts ⇒ Object
writeonly
Sets the attribute opts.
Instance Method Summary collapse
Instance Attribute Details
#args=(value) ⇒ Object
Sets the attribute args
6 7 8 |
# File 'lib/gem/release/cmds/runner.rb', line 6 def args=(value) @args = value end |
#context=(value) ⇒ Object
Sets the attribute context
6 7 8 |
# File 'lib/gem/release/cmds/runner.rb', line 6 def context=(value) @context = value end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/gem/release/cmds/runner.rb', line 6 def name @name end |
#opts=(value) ⇒ Object
Sets the attribute opts
6 7 8 |
# File 'lib/gem/release/cmds/runner.rb', line 6 def opts=(value) @opts = value end |
Instance Method Details
#run ⇒ Object
7 8 9 10 |
# File 'lib/gem/release/cmds/runner.rb', line 7 def run run_cmd success end |