Sha256: fb9490fd45a3cb45e56ffb14988453e4f32c50fe96992c8da1a663b5042195eb
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
# -*- encoding: utf-8 -*- require 'aequitas/virtus_integration/inline_attribute_rule_extractor/object' module Aequitas module VirtusIntegration module InlineAttributeRuleExtractor class Numeric < Object def extract rules = super rules.concat Array(extract_value_rules) end def extract_value_rules Rule::Value.rules_for(attribute.name, options) end end # class Numeric 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/numeric.rb |