Module: Kwalify
- Extended by:
- ErrorHelper, Types
- Defined in:
- lib/kwalify/util.rb,
lib/kwalify.rb,
lib/kwalify/main.rb,
lib/kwalify/rule.rb,
lib/kwalify/types.rb,
lib/kwalify/types.rb,
lib/kwalify/types.rb,
lib/kwalify/types.rb,
lib/kwalify/types.rb,
lib/kwalify/errors.rb,
lib/kwalify/version.rb,
lib/kwalify/messages.rb,
lib/kwalify/validator.rb,
lib/kwalify/parser/yaml.rb,
lib/kwalify/yaml-parser.rb,
lib/kwalify/util/hashlike.rb,
lib/kwalify/meta-validator.rb,
lib/kwalify/util/ordered-hash.rb,
lib/kwalify/util/hash-interface.rb
Overview
$Rev$ 0.7.2 $COPYRIGHT$
Defined Under Namespace
Modules: Boolean, ErrorHelper, HashInterface, Json, Scalar, Text, Types, Util, Yaml Classes: AssertionError, BaseError, BaseParser, CommandOptionError, KwalifyError, Main, MetaValidator, Parser, PlainYamlParser, Rule, SchemaError, SyntaxError, ValidationError, Validator, YamlParser, YamlSyntaxError
Constant Summary collapse
- RELEASE =
'1.0.0'
- META_VALIDATOR =
MetaValidator.instance()
- @@messages =
{}
- @@words =
{}
Constants included from Types
Class Method Summary collapse
Methods included from Types
collection?, collection_type?, get_type_class, scalar?, scalar_type?, type_class, type_table
Methods included from ErrorHelper
_build_message, assert_error, schema_error, validate_error
Class Method Details
.meta_validator ⇒ Object
obsolete
271 272 273 |
# File 'lib/kwalify/meta-validator.rb', line 271 def self. # obsolete return META_VALIDATOR end |
.msg(key) ⇒ Object
11 12 13 |
# File 'lib/kwalify/messages.rb', line 11 def self.msg(key) return @@messages[key] end |
.word(key) ⇒ Object
163 164 165 |
# File 'lib/kwalify/messages.rb', line 163 def self.word(key) return @@words[key] || key end |