Sha256: 2955b2b6fe647bba8104aba29317d1b4c836bfafe4c559d474674554e1b264d3
Contents?: true
Size: 452 Bytes
Versions: 19
Compression:
Stored size: 452 Bytes
Contents
# encoding: UTF-8 # # 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. class TrueClass # +true+ is not duplicable: # # true.duplicable? # => false # true.dup # => TypeError: can't dup TrueClass def duplicable? false end def to_b true end def to_i 1 end end
Version data entries
19 entries across 19 versions & 1 rubygems