Class: AePageObjects::BasicRouter
- Inherits:
-
Object
- Object
- AePageObjects::BasicRouter
show all
- Defined in:
- lib/ae_page_objects/core/basic_router.rb
Instance Method Summary
collapse
Instance Method Details
#generate_path(named_route, *args) ⇒ Object
7
8
9
|
# File 'lib/ae_page_objects/core/basic_router.rb', line 7
def generate_path(named_route, *args)
named_route
end
|
#path_recognizes_url?(path, url) ⇒ Boolean
3
4
5
|
# File 'lib/ae_page_objects/core/basic_router.rb', line 3
def path_recognizes_url?(path, url)
path.sub(/\/$/, '') == url.sub(/\/$/, '')
end
|