Class: Howitzer::Web::BaseSection
- Inherits:
-
Object
- Object
- Howitzer::Web::BaseSection
- Includes:
- CapybaraMethodsProxy, ElementDsl, IframeDsl, SectionDsl
- Defined in:
- lib/howitzer/web/base_section.rb
Overview
This class holds base functinality for sections
Direct Known Subclasses
Constant Summary
Constants included from CapybaraMethodsProxy
CapybaraMethodsProxy::PROXIED_CAPYBARA_METHODS
Class Attribute Summary collapse
-
.default_finder_args ⇒ Object
readonly
Returns the value of attribute default_finder_args.
-
.default_finder_options ⇒ Object
readonly
Returns the value of attribute default_finder_options.
Instance Attribute Summary collapse
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize(parent, context) ⇒ BaseSection
constructor
A new instance of BaseSection.
Methods included from CapybaraMethodsProxy
Methods included from IframeDsl
Methods included from CapybaraContextHolder
Methods included from SectionDsl
Methods included from ElementDsl
Constructor Details
#initialize(parent, context) ⇒ BaseSection
Returns a new instance of BaseSection.
21 22 23 24 |
# File 'lib/howitzer/web/base_section.rb', line 21 def initialize(parent, context) @parent = parent << context end |
Class Attribute Details
.default_finder_args ⇒ Object (readonly)
Returns the value of attribute default_finder_args.
18 19 20 |
# File 'lib/howitzer/web/base_section.rb', line 18 def default_finder_args @default_finder_args end |
.default_finder_options ⇒ Object (readonly)
Returns the value of attribute default_finder_options.
18 19 20 |
# File 'lib/howitzer/web/base_section.rb', line 18 def @default_finder_options end |
Instance Attribute Details
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
15 16 17 |
# File 'lib/howitzer/web/base_section.rb', line 15 def parent @parent end |