Sha256: d201713fd17070173be77857d193a8e75e37f05c67b0e14cf01528efaf4ad710
Contents?: true
Size: 199 Bytes
Versions: 4
Compression:
Stored size: 199 Bytes
Contents
module Daigaku class Task attr_reader :markdown, :path def initialize(path) @path = Dir[File.join(path, '*.md')].first @markdown = File.read(@path).strip end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
daigaku-1.0.0 | lib/daigaku/task.rb |
daigaku-0.6.0 | lib/daigaku/task.rb |
daigaku-0.5.0 | lib/daigaku/task.rb |
daigaku-0.4.0 | lib/daigaku/task.rb |