Module: Mail::Parsers::Ragel::Ruby
- Defined in:
- lib/mail/parsers/ragel/ruby.rb
Constant Summary collapse
- MACHINE_LIST =
{ :address_lists => AddressListsMachine, :phrase_lists => PhraseListsMachine, :date_time => DateTimeMachine, :received => ReceivedMachine, :message_ids => MessageIdsMachine, :envelope_from => EnvelopeFromMachine, :mime_version => MimeVersionMachine, :content_type => ContentTypeMachine, :content_disposition => ContentDispositionMachine, :content_transfer_encoding => ContentTransferEncodingMachine, :content_location => ContentLocationMachine }
Class Method Summary collapse
Class Method Details
.parse(machine, string) ⇒ Object
23 24 25 |
# File 'lib/mail/parsers/ragel/ruby.rb', line 23 def self.parse(machine, string) MACHINE_LIST[machine].parse(string) end |