Class: Rundoc::CodeCommand::Website::ScreenshotArgs
- Inherits:
-
Object
- Object
- Rundoc::CodeCommand::Website::ScreenshotArgs
- Defined in:
- lib/rundoc/code_command/website/screenshot.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#upload ⇒ Object
readonly
Returns the value of attribute upload.
Instance Method Summary collapse
-
#initialize(name:, upload: false) ⇒ ScreenshotArgs
constructor
A new instance of ScreenshotArgs.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/rundoc/code_command/website/screenshot.rb', line 5 def name @name end |
#upload ⇒ Object (readonly)
Returns the value of attribute upload.
5 6 7 |
# File 'lib/rundoc/code_command/website/screenshot.rb', line 5 def upload @upload end |