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
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/examples/ruby2python/features/support/env.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/examples/ruby2python/features/support/env.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/examples/ruby2python/features/support/env.rb
cucumber-1.3.20 examples/ruby2python/features/support/env.rb
cucumber-1.3.19 examples/ruby2python/features/support/env.rb
cucumber-1.3.18 examples/ruby2python/features/support/env.rb
cucumber-1.3.17 examples/ruby2python/features/support/env.rb
cucumber-1.3.16 examples/ruby2python/features/support/env.rb
cucumber-1.3.15 examples/ruby2python/features/support/env.rb
cucumber-1.3.14 examples/ruby2python/features/support/env.rb
cucumber-1.3.13 examples/ruby2python/features/support/env.rb
cucumber-1.3.12 examples/ruby2python/features/support/env.rb
cucumber-1.3.11 examples/ruby2python/features/support/env.rb
cucumber-1.3.10 examples/ruby2python/features/support/env.rb
cucumber-1.3.9 examples/ruby2python/features/support/env.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/examples/ruby2python/features/support/env.rb
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/examples/ruby2python/features/support/env.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/examples/ruby2python/features/support/env.rb
cucumber-1.3.8 examples/ruby2python/features/support/env.rb
cucumber-1.3.7 examples/ruby2python/features/support/env.rb