[rspec-users] [Cucumber] attribute readers in World?
Hi,
#env.rb
class ProjectWorld
include Spec::Matchers
def browser
@browser ||= Browser.new
end
end
World do
ProjectWorld.new
end
Instead of using explicit getters here, can I not use attribute readers?
Aidy