Sha256: b04ed78459d869535269fc44afc1f4c5767096c5e03c9f1356ddf28d8e91d48a
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true module Sail # ConstantCollection # # This module includes a variety of # constants that are used multiple times # in the code to avoid unnecessary allocations. module ConstantCollection TRUE = "true" FALSE = "false" STRING_BOOLEANS = %w[true false].freeze BOOLEAN = "boolean" ON = "on" BOOLEANS = [true, false].freeze CONFIG_FILE_PATH = "./config/sail.yml" STALE = "stale" RECENT = "recent" FIELDS_FOR_SORT = %w[name updated_at cast_type group].freeze end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sail-3.0.1 | lib/sail/constant_collection.rb |
sail-3.0.0 | lib/sail/constant_collection.rb |
sail-2.1.1 | lib/sail/constant_collection.rb |
sail-2.1.0 | lib/sail/constant_collection.rb |