Sha256: 009dd1d531b1abc76fb13fffb241a40b9967ae182d85de222ddd2fde8d88cfb5
Contents?: true
Size: 372 Bytes
Versions: 12
Compression:
Stored size: 372 Bytes
Contents
require 'pork/auto' require 'uri' describe 'README.md' do File.read("#{File.dirname(File.expand_path(__FILE__))}/../README.md"). scan(%r{``` ruby\nrequire 'pork/auto'\n(.+?)\n```}m). each.with_index do |(code), index| would 'pass from README.md #%02d' % index do Module.new{ extend Pork::API; instance_eval(code) } ok end end end
Version data entries
12 entries across 12 versions & 1 rubygems