Class: Howitzer::Web::Section
- Inherits:
-
BaseSection
- Object
- BaseSection
- Howitzer::Web::Section
- Defined in:
- lib/howitzer/web/section.rb
Overview
This class uses for named sections which possible to reuse in different pages
Constant Summary
Constants included from CapybaraMethodsProxy
CapybaraMethodsProxy::PROXIED_CAPYBARA_METHODS
Instance Attribute Summary
Attributes inherited from BaseSection
Class Method Summary collapse
-
.me(*args) ⇒ Object
DSL method which specifies section container selector represented by HTML element.
Methods inherited from BaseSection
Methods included from CapybaraMethodsProxy
Methods included from IframeDsl
Methods included from CapybaraContextHolder
Methods included from SectionDsl
Methods included from ElementDsl
Constructor Details
This class inherits a constructor from Howitzer::Web::BaseSection
Class Method Details
.me(*args) ⇒ Object
DSL method which specifies section container selector represented by HTML element. Any elements described in sections will start in this HTML element.
20 21 22 23 |
# File 'lib/howitzer/web/section.rb', line 20 def me(*args) raise ArgumentError, 'Finder arguments are missing' if args.blank? @default_finder_args = args end |