Sha256: 9b47ff7424f0ad763b404133da3e993e3b2afde1afad4867cc691d6482a5945e
Contents?: true
Size: 238 Bytes
Versions: 3
Compression:
Stored size: 238 Bytes
Contents
module Turnip module Loader def load(*a, &b) if a.first.end_with?('.feature') require 'spec_helper' content = File.read(a.first) Turnip.run(content) else super end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
turnip-0.2.0 | lib/turnip/loader.rb |
turnip-0.1.1 | lib/turnip/loader.rb |
turnip-0.1.0 | lib/turnip/loader.rb |