Class: ParamsReady::Value::Coder
- Inherits:
-
AbstractCoder
- Object
- AbstractCoder
- ParamsReady::Value::Coder
- Extended by:
- Coercion
- Defined in:
- lib/params_ready/value/coder.rb
Direct Known Subclasses
Query::OperatorCoder, BooleanCoder, DateCoder, DateTimeCoder, DecimalCoder, IntegerCoder, StringCoder, SymbolCoder
Defined Under Namespace
Classes: Instantiable
Class Method Summary collapse
Methods included from Coercion
Methods inherited from AbstractCoder
Methods included from Extensions::ClassReaderWriter
Class Method Details
.instance(**opts) ⇒ Object
36 37 38 39 40 |
# File 'lib/params_ready/value/coder.rb', line 36 def self.instance(**opts) raise ParamsReadyError, "No options expected, got: #{opts}" unless opts.empty? self end |