Class: Formalism::Form::Coercion::Array
- Defined in:
- lib/formalism/form/coercion/array.rb
Overview
Class for coercion to Array
Instance Method Summary collapse
-
#initialize(value, of = nil) ⇒ Array
constructor
A new instance of Array.
Methods inherited from Base
Constructor Details
#initialize(value, of = nil) ⇒ Array
Returns a new instance of Array.
8 9 10 11 12 |
# File 'lib/formalism/form/coercion/array.rb', line 8 def initialize(value, of = nil) super @of = of end |