Class: KeyPersonnel
- Inherits:
-
ProposalDevelopmentDocument
- Object
- PageFactory
- BasePage
- ProposalDevelopmentDocument
- KeyPersonnel
- Defined in:
- lib/kuality-coeus/page_objects/proposal_development/key_personnel.rb
Class Method Summary collapse
-
.nsp(string) ⇒ Object
Used for getting rid of the space in the full name.
-
.twospace(string) ⇒ Object
Used to add an extra space in the full name (because some elements in the page have that, annoyingly!).
Methods inherited from ProposalDevelopmentDocument
Methods inherited from BasePage
budget_header_elements, budget_versions_elements, custom_data, description_field, document_header_elements, error_messages, glbl, global_buttons, route_log, search_results_table, special_review, tab_buttons, tiny_buttons, validation_elements
Class Method Details
.nsp(string) ⇒ Object
Used for getting rid of the space in the full name
101 102 103 |
# File 'lib/kuality-coeus/page_objects/proposal_development/key_personnel.rb', line 101 def nsp(string) string.gsub(' ', '') end |
.twospace(string) ⇒ Object
Used to add an extra space in the full name (because some elements in the page have that, annoyingly!)
107 108 109 |
# File 'lib/kuality-coeus/page_objects/proposal_development/key_personnel.rb', line 107 def twospace(string) string.gsub(' ', ' ') end |