Sha256: 297b85749809601753bfeb861a8fb9eb315dc8560744f7f07d538c09106ffe96
Contents?: true
Size: 342 Bytes
Versions: 5
Compression:
Stored size: 342 Bytes
Contents
module DataHelper def response_data(format, filename) filename = File.join(File.dirname(__FILE__), format.to_s, filename) raise "File not found: #{filename}. Check atoms spec folder for available samples." if !File.exist?(filename) IO.read(filename) end alias_method :load_data, :response_data end include DataHelper
Version data entries
5 entries across 5 versions & 2 rubygems