Class: CucumberTree::Handler::Base

Inherits:
Struct
  • Object
show all
Defined in:
lib/cucumber_tree/handlers/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#scenarioObject

Returns the value of attribute scenario

Returns:

  • (Object)

    the current value of scenario



3
4
5
# File 'lib/cucumber_tree/handlers/base.rb', line 3

def scenario
  @scenario
end

#worldObject

Returns the value of attribute world

Returns:

  • (Object)

    the current value of world



3
4
5
# File 'lib/cucumber_tree/handlers/base.rb', line 3

def world
  @world
end

Instance Method Details

#pageObject



5
6
7
# File 'lib/cucumber_tree/handlers/base.rb', line 5

def page
  world.page
end