Class: Imessage::Parser
- Inherits:
-
Object
- Object
- Imessage::Parser
- Defined in:
- lib/imessage/parser.rb
Class Method Summary collapse
Class Method Details
.parse(options) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/imessage/parser.rb', line 7 def parse() OpenStruct.new.tap do |args| args.contacts = [] args.text = nil args. = nil args.verbose = false opt_parser(args).parse!() end end |