class Note

Attributes

filepath[R]
id[R]
line[R]
note[R]

Public Class Methods

new(args) click to toggle source
# File lib/note.rb, line 4
def initialize args
  @filepath = args[:filepath]
  @note = args[:note]
  @line = args[:line]
end

Public Instance Methods

to_s() click to toggle source
# File lib/note.rb, line 10
def to_s
  str = ""
  str << "#{@line}".rjust(5) + ": "
  str << "#{note}"
end