29 30 31 32 33 34 35 36
# File 'lib/cucumber/feature_file.rb', line 29 def source @source ||= if @path =~ /^http/ require 'open-uri' open(@path).read else File.open(@path, Cucumber.file_mode('r')).read end end