Class: Dill::Document
- Inherits:
-
Object
- Object
- Dill::Document
- Includes:
- WidgetParts::Container
- Defined in:
- lib/dill/widgets/document.rb
Constant Summary
Constants included from Dill
Instance Method Summary collapse
-
#initialize(widget_lookup_scope) ⇒ Document
constructor
A new instance of Document.
- #root ⇒ Object
Methods included from WidgetParts::Container
#has_widget?, #not_visible?, #visible?, #widget, #widgets
Methods included from Dill
Methods included from Constructors
Constructor Details
#initialize(widget_lookup_scope) ⇒ Document
Returns a new instance of Document.
5 6 7 |
# File 'lib/dill/widgets/document.rb', line 5 def initialize() self. = or raise 'No scope given' end |
Instance Method Details
#root ⇒ Object
9 10 11 |
# File 'lib/dill/widgets/document.rb', line 9 def root Capybara.current_session end |