Class: RSchema::Coercers::Any
- Inherits:
-
Object
- Object
- RSchema::Coercers::Any
- Defined in:
- lib/rschema/coercers/any.rb
Defined Under Namespace
Classes: Builder
Instance Attribute Summary collapse
-
#subcoercers ⇒ Object
readonly
Returns the value of attribute subcoercers.
Class Method Summary collapse
Instance Method Summary collapse
- #call(value) ⇒ Object
-
#initialize(subcoercers) ⇒ Any
constructor
A new instance of Any.
Constructor Details
#initialize(subcoercers) ⇒ Any
Returns a new instance of Any.
11 12 13 |
# File 'lib/rschema/coercers/any.rb', line 11 def initialize(subcoercers) @subcoercers = subcoercers end |
Instance Attribute Details
#subcoercers ⇒ Object (readonly)
Returns the value of attribute subcoercers.
5 6 7 |
# File 'lib/rschema/coercers/any.rb', line 5 def subcoercers @subcoercers end |