Module: Yema::Virtus::Validations

Defined in:
lib/yema/virtus/validations.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/yema/virtus/validations.rb', line 5

def self.included(base)
  base.instance_eval do
    include ::Virtus::ValueObject
    include Yema::Validations
    extend ClassMethods
  end
end