Class: Narabi::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/narabi/parser.rb

Class Method Summary collapse

Class Method Details

.parse_line(src) ⇒ Object



22
23
24
25
26
27
28
29
30
31
32
# File 'lib/narabi/parser.rb', line 22

def self.parse_line(src)
  if msg = Message.create_return(src)
    return msg
  end
  if msg = Message.create_normal(src)
    return msg
  end
  if msg = Message.create_note(src)
    return msg
  end
end