Class: NRSER::Types::FalseType
- Defined in:
- lib/nrser/types/booleans.rb
Overview
A type for only ‘false`.
Provides a Boolean#custom_from_s to load from CLI options and ENV var-like string values.
Boolean Type Factories collapse
- STRINGS =
NRSER::FALSY_STRINGS
Instance Attribute Summary
Attributes inherited from Is
Boolean Type Factories collapse
-
#initialize(**options) ⇒ FalseType
constructor
Instantiate a new ‘True` type.
Methods inherited from Is
#==, #default_symbolic, #explain, #test?
Methods inherited from Type
#===, #builtin_inspect, #check, #check!, #default_name, #default_symbolic, #explain, #from_data, #from_s, #has_from_data?, #has_from_s?, #has_to_data?, #inspect, #intersection, #name, #not, #respond_to?, #symbolic, #test, #test?, #to_data, #to_proc, #to_s, #union, #xor
Constructor Details
#initialize(**options) ⇒ FalseType
Instantiate a new ‘True` type.
101 102 103 |
# File 'lib/nrser/types/booleans.rb', line 101 def initialize ** super false, ** end |