class Nexmo::Markdown::FrontmatterFilter
Public Instance Methods
call(input)
click to toggle source
# File lib/nexmo_markdown_renderer/filters/frontmatter_filter.rb, line 4 def call(input) # Remove frontmatter from the input input.gsub(/\A(---.+?---)/mo, '') end