Class: PuppetStrings::Yard::Handlers::JSON::Base
- Inherits:
-
YARD::Handlers::Base
- Object
- YARD::Handlers::Base
- PuppetStrings::Yard::Handlers::JSON::Base
- Defined in:
- lib/puppet-strings/yard/handlers/json/base.rb
Overview
Implements the base class for all JSON handlers.
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.handles?(statement) ⇒ Boolean
5 6 7 |
# File 'lib/puppet-strings/yard/handlers/json/base.rb', line 5 def self.handles?(statement) handlers.any? { |handler| statement.is_a?(handler) } end |