Module: LapisLazuli::Ast
- Included in:
- Scenario
- Defined in:
- lib/lapis_lazuli/ast.rb
Overview
Convenience module for dealing with aspects of the cucumber AST. From version 1.3.x to version 2.0.x, some changes were introduced here.
Instance Method Summary collapse
-
#scenario_id(scenario) ⇒ Object
Return a unique and human parsable ID for scenarios.
Instance Method Details
#scenario_id(scenario) ⇒ Object
Return a unique and human parsable ID for scenarios
16 17 18 |
# File 'lib/lapis_lazuli/ast.rb', line 16 def scenario_id(scenario) [scenario.id] end |