Class: PuppetStrings::Yard::Handlers::Ruby::Base

Inherits:
YARD::Handlers::Ruby::Base
  • Object
show all
Defined in:
lib/puppet-strings/yard/handlers/ruby/base.rb

Overview

Implements the base handler for Ruby language handlers.

Constant Summary collapse

HEREDOC_START =

A regular expression for detecting the start of a Ruby heredoc. Note: the first character of the heredoc start may have been cut off by YARD.

/^<?<[-~]?['"]?(\w+)['"]?[^\n]*\n?/.freeze