Module: CRB::World
- Includes:
- Cucumber::RbSupport::RbDsl
- Defined in:
- lib/crb.rb
Instance Attribute Summary collapse
-
#rb ⇒ Object
Returns the value of attribute rb.
-
#support ⇒ Object
Returns the value of attribute support.
Instance Method Summary collapse
Instance Attribute Details
#rb ⇒ Object
Returns the value of attribute rb.
12 13 14 |
# File 'lib/crb.rb', line 12 def rb @rb end |
#support ⇒ Object
Returns the value of attribute support.
11 12 13 |
# File 'lib/crb.rb', line 11 def support @support end |
Instance Method Details
#after ⇒ Object
30 31 32 |
# File 'lib/crb.rb', line 30 def after fire_hook(:after) end |
#before ⇒ Object
26 27 28 |
# File 'lib/crb.rb', line 26 def before fire_hook(:before) end |
#hooks ⇒ Object
22 23 24 |
# File 'lib/crb.rb', line 22 def hooks rb.send(:hooks) end |
#steps ⇒ Object
18 19 20 |
# File 'lib/crb.rb', line 18 def steps support.step_definitions end |
#to_s ⇒ Object
14 15 16 |
# File 'lib/crb.rb', line 14 def to_s "CRB:%s" % (steps.size rescue '???') end |