Class: Rundoc::CodeCommand::Website::VisitArgs
- Inherits:
-
Object
- Object
- Rundoc::CodeCommand::Website::VisitArgs
- Defined in:
- lib/rundoc/code_command/website/visit.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#max_attempts ⇒ Object
readonly
Returns the value of attribute max_attempts.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#scroll ⇒ Object
readonly
Returns the value of attribute scroll.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#visible ⇒ Object
readonly
Returns the value of attribute visible.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(name:, url: nil, scroll: nil, height: 720, width: 1024, visible: false, max_attempts: 3) ⇒ VisitArgs
constructor
A new instance of VisitArgs.
Constructor Details
#initialize(name:, url: nil, scroll: nil, height: 720, width: 1024, visible: false, max_attempts: 3) ⇒ VisitArgs
Returns a new instance of VisitArgs.
7 8 9 10 11 12 13 14 15 |
# File 'lib/rundoc/code_command/website/visit.rb', line 7 def initialize(name:, url: nil, scroll: nil, height: 720, width: 1024, visible: false, max_attempts: 3) @name = name @url = url @scroll = scroll @height = height @width = width @visible = visible @max_attempts = max_attempts end |
Instance Attribute Details
#height ⇒ Object (readonly)
Returns the value of attribute height.
5 6 7 |
# File 'lib/rundoc/code_command/website/visit.rb', line 5 def height @height end |
#max_attempts ⇒ Object (readonly)
Returns the value of attribute max_attempts.
5 6 7 |
# File 'lib/rundoc/code_command/website/visit.rb', line 5 def max_attempts @max_attempts end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/rundoc/code_command/website/visit.rb', line 5 def name @name end |
#scroll ⇒ Object (readonly)
Returns the value of attribute scroll.
5 6 7 |
# File 'lib/rundoc/code_command/website/visit.rb', line 5 def scroll @scroll end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/rundoc/code_command/website/visit.rb', line 5 def url @url end |
#visible ⇒ Object (readonly)
Returns the value of attribute visible.
5 6 7 |
# File 'lib/rundoc/code_command/website/visit.rb', line 5 def visible @visible end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
5 6 7 |
# File 'lib/rundoc/code_command/website/visit.rb', line 5 def width @width end |