Class: ShopifyCLI::Command::PrerequisiteTask

Inherits:
Object
  • Object
show all
Defined in:
lib/shopify_cli/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, args = []) ⇒ PrerequisiteTask

Returns a new instance of PrerequisiteTask.



160
161
162
163
# File 'lib/shopify_cli/command.rb', line 160

def initialize(name, args = [])
  @name = name
  @args = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



158
159
160
# File 'lib/shopify_cli/command.rb', line 158

def args
  @args
end

#nameObject (readonly)

Returns the value of attribute name.



158
159
160
# File 'lib/shopify_cli/command.rb', line 158

def name
  @name
end