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