Class: Pronto::Punchlist::MessageCreator

Inherits:
Object
  • Object
show all
Defined in:
lib/pronto/punchlist/message_creator.rb

Overview

Creates Pronto messages

Constant Summary collapse

MESSAGE =
'Uncompleted punchlist item detected--' \
'consider resolving or moving this to ' \
'your issue tracker'

Instance Method Summary collapse

Instance Method Details

#create(path, line) ⇒ Object



13
14
15
# File 'lib/pronto/punchlist/message_creator.rb', line 13

def create(path, line)
  Message.new(path, line, :warning, MESSAGE, nil, Pronto::Punchlist)
end