Sha256: 536426e694d4705648927c7da35ee60532b0a4188bb6e6bc8eb884ecc598c858

Contents?: true

Size: 367 Bytes

Versions: 126

Compression:

Stored size: 367 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

126 entries across 122 versions & 16 rubygems

Version Path
cucumber-0.4.4 examples/ruby2python/features/support/env.rb
cucumber-0.4.3 examples/ruby2python/features/support/env.rb
cucumber-0.4.2 examples/ruby2python/features/support/env.rb
cucumber-0.4.1 examples/ruby2python/features/support/env.rb
cucumber-0.4.0 examples/ruby2python/features/support/env.rb
cucumber-0.4.0.rc1 examples/ruby2python/features/support/env.rb