Sha256: 34b82045c8ce7efd6aabdddca0d076b96a4ebf58c21ace1f43df166cb02e481b
Contents?: true
Size: 445 Bytes
Versions: 1
Compression:
Stored size: 445 Bytes
Contents
# -*- encoding: utf-8 -*- require 'aequitas/virtus_integration/inline_attribute_rule_extractor/object' module Aequitas module VirtusIntegration module InlineAttributeRuleExtractor class Boolean < Object def extract_presence_rule Rule::Presence::NotNil.new(attribute.name) end end # class Boolean end # module InlineAttributeRuleExtractor end # module VirtusIntegration end # module Aequitas
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aequitas-0.0.2 | lib/aequitas/virtus_integration/inline_attribute_rule_extractor/boolean.rb |