Skip to content

Instantly share code, notes, and snippets.

View josh-lauer's full-sized avatar

Josh Lauer josh-lauer

  • Doximity
  • Easton, PA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am josh-lauer on github.
  • I am jlauer (https://keybase.io/jlauer) on keybase.
  • I have a public key ASBKz9hJxExPs3s3SGjZTRpmJVd9E5s-cK2i2iQPcSYC7Qo

To claim this, I am signing this object:

# this is within a module named "Parser"
# be gentle, i'm rusty, lol
def Parser.parse_email(source)
# if source is empty, do nothing
return {} if source.empty?
# initialize some locally-scoped variables
results = { :header => {}, :original_keys => {}, :body => [] }
body_begin = 0