Class: RailsParamValidation::AnnotationTypes::AnnotationT

Inherits:
Object
  • Object
show all
Defined in:
lib/rails-param-validation/types/types.rb

Direct Known Subclasses

ArrayT, CustomT, HashT, OptionalT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inner_type) ⇒ AnnotationT

Returns a new instance of AnnotationT.



14
15
16
# File 'lib/rails-param-validation/types/types.rb', line 14

def initialize(inner_type)
  @inner_type = inner_type
end

Instance Attribute Details

#inner_typeObject (readonly)

Returns the value of attribute inner_type.



12
13
14
# File 'lib/rails-param-validation/types/types.rb', line 12

def inner_type
  @inner_type
end