Class: TrueClass
Class Method Summary collapse
-
.type ⇒ Object
“hack” - enables true.is_a?(Bool) and true.type and true.as_data.
Instance Method Summary collapse
Methods included from Bool
Class Method Details
.type ⇒ Object
“hack” - enables true.is_a?(Bool)
and true.type
and true.as_data
44 |
# File 'lib/solidity/typed/bool.rb', line 44 def self.type() Types::Typed::BoolType.instance; end |
Instance Method Details
#zero? ⇒ Boolean
45 |
# File 'lib/solidity/typed/bool.rb', line 45 def zero?() false; end |