Module: Lopata::Role::Methods
- Included in:
- Scenario
- Defined in:
- lib/lopata/role.rb
Overview
To be included in Lopata::Scenario
Instance Method Summary collapse
-
#current_role ⇒ Symbol?
User role for current scenario or nil, if scenario is running without user.
Instance Method Details
#current_role ⇒ Symbol?
Returns user role for current scenario or nil, if scenario is running without user.
31 32 33 |
# File 'lib/lopata/role.rb', line 31 def current_role [:as] end |