Sha256: b37506cf77b181a88ea5cd10a693a33a551442827b6dfc24b493595818557b9d

Contents?: true

Size: 373 Bytes

Versions: 9

Compression:

Stored size: 373 Bytes

Contents

require 'rubypython'

ENV['PYTHONPATH'] = File.expand_path(File.dirname(__FILE__) + '/../../lib')

Before do
  RubyPython.start
  @fib = RubyPython.import('fib')
end

After do
  RubyPython.stop
end

# RubyPython seems to expect this to exist (?)
class String
  def end_with?(str)
    str = str.to_str
    tail = self[-str.length, str.length]
    tail == str      
  end
end

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
aslakhellesoy-cucumber-0.3.94.1 examples/python/features/support/env.rb
aslakhellesoy-cucumber-0.3.95 examples/python/features/support/env.rb
aslakhellesoy-cucumber-0.3.96 examples/python/features/support/env.rb
kosmas58-cucumber-0.3.95 examples/python/features/support/env.rb
kosmas58-cucumber-0.3.96 examples/python/features/support/env.rb
pezra-cucumber-0.3.94.1 examples/python/features/support/env.rb
cucumber-0.3.96 examples/python/features/support/env.rb
cucumber-0.3.95 examples/python/features/support/env.rb
cucumber-0.3.94 examples/python/features/support/env.rb