class PPZ::UnorderedListItemModel

Constants

REG_EXP

Public Class Methods

from_line(line) click to toggle source
# File lib/doc/model/list/item/unordered.rb, line 3
def self.from_line line
  return nil unless REG_EXP.match(line)
  self.new $2, $1.size
end