Class: Formalism::Form::Coercion::Array

Inherits:
Base
  • Object
show all
Defined in:
lib/formalism/form/coercion/array.rb

Overview

Class for coercion to Array

Instance Method Summary collapse

Methods inherited from Base

#result

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