class Belajar::Task

Attributes

markdown[R]
path[R]

Public Class Methods

new(path) click to toggle source
# File lib/belajar/task.rb, line 5
def initialize(path)
  @path     = Dir[File.join(path, '*.md')].first
  @markdown = File.read(@path).strip
end