class PuppetStrings::Yard::Handlers::JSON::Base

Implements the base class for all JSON handlers.

Public Class Methods

handles?(statement) click to toggle source
# File lib/puppet-strings/yard/handlers/json/base.rb, line 5
def self.handles?(statement)
  handlers.any? { |handler| statement.is_a?(handler) }
end