Module: KubeDSL::Validations

Included in:
DSLObject
Defined in:
lib/kube-dsl/validations.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: ArrayValidator, FieldValidator, FormatValidator, InclusionValidator, KeyValueValidator, ObjectValidator, PresenceValidator, ValidationErrors

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



223
224
225
226
# File 'lib/kube-dsl/validations.rb', line 223

def self.extended(base)
  base.include(InstanceMethods)
  base.extend(ClassMethods)
end