Class: Trackler::OrgmodeFile
- Defined in:
- lib/trackler/doc_file.rb
Constant Summary
Constants inherited from DocFile
Instance Attribute Summary
Attributes inherited from DocFile
Instance Method Summary collapse
Methods inherited from DocFile
#exist?, find, #initialize, #name, #render
Constructor Details
This class inherits a constructor from Trackler::DocFile
Instance Method Details
#body ⇒ Object
56 57 58 |
# File 'lib/trackler/doc_file.rb', line 56 def body Orgmode::Parser.new(File.read(path)).to_markdown end |
#extension ⇒ Object
60 61 62 |
# File 'lib/trackler/doc_file.rb', line 60 def extension "org" end |