Class: Bcupgrade::Cask
- Inherits:
-
Object
- Object
- Bcupgrade::Cask
- Defined in:
- lib/bcupgrade/cask.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(options, args) ⇒ Cask
constructor
A new instance of Cask.
- #upgrade_version(casks) ⇒ Object
Constructor Details
#initialize(options, args) ⇒ Cask
Returns a new instance of Cask.
9 10 11 12 13 14 |
# File 'lib/bcupgrade/cask.rb', line 9 def initialize(, args) @config = load_config @options = @args = args.uniq @target = upgrade_target end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
7 8 9 |
# File 'lib/bcupgrade/cask.rb', line 7 def args @args end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
7 8 9 |
# File 'lib/bcupgrade/cask.rb', line 7 def config @config end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
7 8 9 |
# File 'lib/bcupgrade/cask.rb', line 7 def target @target end |