class PnoteClient::Documents::Pnote::TeacherComment

Attributes

content[RW]
show_time[RW]

Public Class Methods

new(content: nil, show_time: 0) click to toggle source
# File lib/pnote_client/documents/pnote/teacher_comment.rb, line 11
def initialize(content: nil, show_time: 0)
  @show_time = show_time
  @content = content
end

Public Instance Methods

add_content_line(new_line) click to toggle source
# File lib/pnote_client/documents/pnote/teacher_comment.rb, line 16
def add_content_line(new_line)
  @content = add_line(@content, new_line)
end