Class: DatasetExplorer::ValueEvaluator::BooleanEvaluator
- Inherits:
-
Object
- Object
- DatasetExplorer::ValueEvaluator::BooleanEvaluator
- Defined in:
- lib/dataset_explorer/value_evaluator.rb
Constant Summary collapse
- ACCEPT =
%w[ true false ].freeze
Instance Method Summary collapse
Instance Method Details
#accept?(value) ⇒ Boolean
129 130 131 |
# File 'lib/dataset_explorer/value_evaluator.rb', line 129 def accept?(value) ACCEPT.include?(value.to_s.downcase) end |