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-1.3.6 examples/ruby2python/features/support/env.rb
cucumber-1.3.5 examples/ruby2python/features/support/env.rb
cucumber-1.3.4 examples/ruby2python/features/support/env.rb
cucumber-1.3.3 examples/ruby2python/features/support/env.rb
cucumber-1.3.2 examples/ruby2python/features/support/env.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/examples/ruby2python/features/support/env.rb
cucumber-1.3.1 examples/ruby2python/features/support/env.rb
cucumber-1.3.0 examples/ruby2python/features/support/env.rb
cucumber-1.2.5 examples/ruby2python/features/support/env.rb
cucumber-1.2.3 examples/ruby2python/features/support/env.rb
cucumber-1.2.2 examples/ruby2python/features/support/env.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/examples/ruby2python/features/support/env.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/examples/ruby2python/features/support/env.rb
casecumber-1.0.2.1 examples/ruby2python/features/support/env.rb
casecumber-1.2.1.cb2 examples/ruby2python/features/support/env.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/examples/ruby2python/features/support/env.rb
cucumber-1.2.1 examples/ruby2python/features/support/env.rb
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/ruby2python/features/support/env.rb
ftl-0.2.0 vendor/bundle/gems/cucumber-1.2.0/examples/ruby2python/features/support/env.rb
cucumber-1.2.0 examples/ruby2python/features/support/env.rb