Class: SystemTester::Select
- Inherits:
-
Action
show all
- Defined in:
- app/models/system_tester/select.rb
Constant Summary
Constants inherited
from Step
SystemTester::Step::INDENT
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Action
bg_css, #icon
Methods inherited from Step
#bg_css, bg_css, #commented_title, #friendly_type, leafs, #module, parent_type, #parent_type, parent_types, #text_css, text_css
Class Method Details
.args ⇒ Object
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'app/models/system_tester/select.rb', line 11
def self.args
[
{
name: 'arg_two',
label: 'Select Label',
type: 'text'
},
{
name: 'arg_one',
label: 'Option',
type: 'text'
}
]
end
|
.friendly_type ⇒ Object
7
8
9
|
# File 'app/models/system_tester/select.rb', line 7
def self.friendly_type
"Select"
end
|
Instance Method Details
#to_s ⇒ Object
3
4
5
|
# File 'app/models/system_tester/select.rb', line 3
def to_s
"#{super}#{INDENT}select \"#{arg_one}\", from: \"#{arg_two}\"\n\n"
end
|