Class: False
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value) ⇒ False
constructor
A new instance of False.
Methods inherited from Any
Constructor Details
#initialize(value) ⇒ False
Returns a new instance of False.
37 |
# File 'lib/types/false.rb', line 37 def initialize(value) = super(setup_value(value)) |
Class Method Details
.t(value) ⇒ Object
8 9 10 11 12 |
# File 'lib/types/false.rb', line 8 def t(value) raise RubytTypeError.new(False, value.class) unless value.is_a? False value end |