Class: ArrayType

Inherits:
ActiveModel::Type::Value
  • Object
show all
Defined in:
app/types/array_type.rb

Overview

Allows for an array to be used as an active model type

Instance Method Summary collapse

Instance Method Details

#cast(value) ⇒ Object


3
4
5
# File 'app/types/array_type.rb', line 3

def cast(value)
  value
end