Sha256: ffb94187eb1c0565cf3e9f52906a56ea9ac9ca0c183f8c96601c7950f653b7e4
Contents?: true
Size: 1 KB
Versions: 2
Compression:
Stored size: 1 KB
Contents
{ "lib/attribool/validators/*_validator.rb": { "command": "validator", "related": "lib/attribool/validator_service.rb", "alternate": "test/attribool/validators/{}_test.rb", "template": [ "# frozen_string_literal: true", "", "module Attribool::Validators", " ##", " # Ensures that {blank} is validated.", " class {capitalize|camelcase}Validator", " ##", " # Construct the validator.", " #", " # @param [Todo] todo", " def initialize(todo)", " @todo = todo", " end", "", " ##", " # Todo?", " #", " # @return [Boolean]", " def valid?", " # TODO", " end", "", " ##", " # The exception to raise if validations fail.", " #", " # @return [TodoError] the exception with message", " def error", " TodoError.new(\"todo\")", " end", " end", "end" ] } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
attribool-2.0.5 | .projections.json |
attribool-2.0.4 | .projections.json |