class Card::Content::Chunk::EmailUri

FIXME: DRY, merge these two into one class

Constants

EMAIL
PREPEND_STR

Public Instance Methods

process_text() click to toggle source

removes the prepended string from the unchanged match text

# File lib/card/content/chunk/uri.rb, line 104
def process_text
  @text = @text.sub(/^mailto:/, "")
end