Class: PuppetStrings::Yard::Handlers::Ruby::Base
- Inherits:
-
YARD::Handlers::Ruby::Base
- Object
- YARD::Handlers::Ruby::Base
- PuppetStrings::Yard::Handlers::Ruby::Base
- Defined in:
- lib/puppet-strings/yard/handlers/ruby/base.rb
Overview
Implements the base handler for Ruby language handlers.
Direct Known Subclasses
DataTypeHandler, FunctionHandler, ProviderHandler, RsapiHandler, TypeBase
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