Class: Rundoc::CodeCommand::Website::ScreenshotArgs

Inherits:
Object
  • Object
show all
Defined in:
lib/rundoc/code_command/website/screenshot.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, upload: false) ⇒ ScreenshotArgs

Returns a new instance of ScreenshotArgs.



7
8
9
10
# File 'lib/rundoc/code_command/website/screenshot.rb', line 7

def initialize(name:, upload: false)
  @name = name
  @upload = upload
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/rundoc/code_command/website/screenshot.rb', line 5

def name
  @name
end

#uploadObject (readonly)

Returns the value of attribute upload.



5
6
7
# File 'lib/rundoc/code_command/website/screenshot.rb', line 5

def upload
  @upload
end