Class: Kameleon::Session
- Inherits:
-
Object
- Object
- Kameleon::Session
- Defined in:
- lib/kameleon/session.rb
Instance Attribute Summary collapse
-
#capybara_session ⇒ Object
Returns the value of attribute capybara_session.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(name) ⇒ Session
Returns a new instance of Session.
5 6 7 8 9 |
# File 'lib/kameleon/session.rb', line 5 def initialize(name) @name = name take_free_session end |
Instance Attribute Details
#capybara_session ⇒ Object
Returns the value of attribute capybara_session.
3 4 5 |
# File 'lib/kameleon/session.rb', line 3 def @capybara_session end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/kameleon/session.rb', line 3 def name @name end |
Class Method Details
.defined_areas ⇒ Object
12 13 14 |
# File 'lib/kameleon/session.rb', line 12 def defined_areas @@defined_areas ||= {} end |