Sha256: 138baec57589369e95241becbb3e18e306102867198f2a52ddfaee2099f0fcec
Contents?: true
Size: 463 Bytes
Versions: 23
Compression:
Stored size: 463 Bytes
Contents
# JSON check API For checking the content of `.yml` files. ```ruby module PlatformosCheck class MyCheckName < YamlCheck category :yaml, # A check can belong to multiple categories. Valid ones: categories :translation, :performance severity :suggestion # :error or :style def on_file(file) file # an instance of `PlatformosCheck::JsonFile` file.content # the parsed JSON, as a Ruby object, usually a Hash end end end ```
Version data entries
23 entries across 23 versions & 1 rubygems