examples/i18n/ru/features/support/world.rb in cucumber-0.2.3 vs examples/i18n/ru/features/support/world.rb in cucumber-0.3.0
- old
+ new
@@ -1,7 +1,8 @@
# encoding: utf-8
-
-World do
+module LazyCalc
def calc
@calc ||= Calculator.new
end
-end
\ No newline at end of file
+end
+
+World(LazyCalc)