Class: OrgMode::DefaultRcFile
- Inherits:
-
Object
- Object
- OrgMode::DefaultRcFile
- Extended by:
- FileOperations
- Defined in:
- lib/org_mode/configuration.rb
Class Method Summary collapse
Methods included from FileOperations
Class Method Details
permalink .content ⇒ Object
[View source]
39 40 41 |
# File 'lib/org_mode/configuration.rb', line 39 def content @content ||= ::File.open(default_rc_path).read end |
permalink .write_to(target_path) ⇒ Object
[View source]
43 44 45 |
# File 'lib/org_mode/configuration.rb', line 43 def write_to(target_path) spit_into_file(target_path, content) end |