Class: AlgebraDB::Value::Bool::Decoder
- Inherits:
-
Exec::Decoder
- Object
- Exec::Decoder
- AlgebraDB::Value::Bool::Decoder
- Defined in:
- lib/algebra_db/value/bool.rb
Overview
Specialization of this decoder.
Instance Method Summary collapse
Methods inherited from Exec::Decoder
Instance Method Details
#decode_value(db_value) ⇒ Object
21 22 23 |
# File 'lib/algebra_db/value/bool.rb', line 21 def decode_value(db_value) db_value == 't' end |