Class: Yema::Virtus::Attribute::String

Inherits:
Yema::Virtus::Attribute show all
Defined in:
lib/yema/virtus/attribute/string.rb

Constant Summary

Constants inherited from Yema::Virtus::Attribute

DEFAULT_BUILDERS

Instance Attribute Summary

Attributes inherited from Yema::Virtus::Attribute

#attribute

Class Method Summary collapse

Methods inherited from Yema::Virtus::Attribute

build, builders, #initialize, #rules

Constructor Details

This class inherits a constructor from Yema::Virtus::Attribute

Class Method Details

.specific_buildersObject



6
7
8
9
10
11
12
# File 'lib/yema/virtus/attribute/string.rb', line 6

def self.specific_builders
  super + [
    Builder::Length,
    Builder::Format,
    Builder::Inclusion,
  ].freeze
end