Class: FalseClass
Overview
Copyright (c) 2010-2017 GoodData Corporation. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree.
Instance Method Summary collapse
-
#duplicable? ⇒ Boolean
+false+ is not duplicable:.
- #to_b ⇒ Object
- #to_i ⇒ Object
Instance Method Details
#duplicable? ⇒ Boolean
+false+ is not duplicable:
false.duplicable? # => false false.dup # => TypeError: can't dup FalseClass
12 13 14 |
# File 'lib/gooddata/extensions/false.rb', line 12 def duplicable? false end |
#to_b ⇒ Object
16 17 18 |
# File 'lib/gooddata/extensions/false.rb', line 16 def to_b false end |
#to_i ⇒ Object
20 21 22 |
# File 'lib/gooddata/extensions/false.rb', line 20 def to_i 0 end |