Sha256: 4de61792b98b72e47d52268097b7da80b604006d7a3a3f079d791291af583458

Contents?: true

Size: 251 Bytes

Versions: 8

Compression:

Stored size: 251 Bytes

Contents

# frozen_string_literal: true

# Implements the base class for all JSON handlers.
class PuppetStrings::Yard::Handlers::JSON::Base < YARD::Handlers::Base
  def self.handles?(statement)
    handlers.any? { |handler| statement.is_a?(handler) }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
puppet-strings-4.1.3 lib/puppet-strings/yard/handlers/json/base.rb
puppet-strings-4.1.2 lib/puppet-strings/yard/handlers/json/base.rb
puppet-strings-4.1.1 lib/puppet-strings/yard/handlers/json/base.rb
puppet-strings-4.1.0 lib/puppet-strings/yard/handlers/json/base.rb
puppet-strings-4.0.0 lib/puppet-strings/yard/handlers/json/base.rb
puppet-strings-4.0.0.rc.1 lib/puppet-strings/yard/handlers/json/base.rb
puppet-strings-3.0.1 lib/puppet-strings/yard/handlers/json/base.rb
puppet-strings-3.0.0 lib/puppet-strings/yard/handlers/json/base.rb