Module: PostfixStatusLine

Defined in:
lib/postfix_status_line.rb,
lib/postfix_status_line/version.rb,
ext/postfix_status_line_core.c

Defined Under Namespace

Modules: Core

Constant Summary collapse

VERSION =
'0.2.1'

Class Method Summary collapse

Class Method Details

.parse(str, options) ⇒ Object



5
6
7
8
9
10
# File 'lib/postfix_status_line.rb', line 5

def parse(str, options)
  mask = options.has_key?(:mask) ? options[:mask] : true
  hash = options[:hash]
  salt = options[:salt]
  PostfixStatusLine::Core.parse(str, mask, hash, salt)
end