class BibtexToScrapbox::SbPage

Public Class Methods

new() click to toggle source
# File lib/bibtex_to_scrapbox.rb, line 49
def initialize()
  @sb_json=[]
end

Public Instance Methods

json() click to toggle source
# File lib/bibtex_to_scrapbox.rb, line 53
def json()
  @sb_json
end
push_empty_text() click to toggle source
# File lib/bibtex_to_scrapbox.rb, line 63
def push_empty_text()
  @sb_json << ""
end
push_text(s) click to toggle source
# File lib/bibtex_to_scrapbox.rb, line 57
def push_text(s)
  s.split("\n").each do |s1|
    @sb_json << s1
  end
end