class Yorgi::Org::Capture
Attributes
capture_file[R]
Public Class Methods
new()
click to toggle source
# File lib/yorgi/org/capture.rb, line 6 def initialize # TODO: set different capture file @capture_file = Settings.org_file end
Public Instance Methods
capture(text)
click to toggle source
# File lib/yorgi/org/capture.rb, line 11 def capture(text) write capture_file, "* #{text}" end