Sha256: fd5c2bd94f72abf1bfda378ff386e538993b2f849cd8361f6179396c663afd70

Contents?: true

Size: 182 Bytes

Versions: 2

Compression:

Stored size: 182 Bytes

Contents

module Training
  def Training.text_for(name)
    name = name.to_sym
    path = File.join(File.dirname(__FILE__),'..','training',"#{name}.txt")

    return File.read(path)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
raingrams-0.1.1 spec/helpers/training.rb
raingrams-0.1.2 spec/helpers/training.rb