class Evernote2md::Note
Attributes
text[RW]
title[RW]
Public Class Methods
new(title, text)
click to toggle source
# File lib/evernote2md.rb, line 20 def initialize(title, text) @title = title @text = Nokogiri::XML(text).xpath('//en-note').first.text end
Public Instance Methods
to_text()
click to toggle source
# File lib/evernote2md.rb, line 25 def to_text "#{@title}\n#{@text}" end