Class: FalseClass

Inherits:
Object
  • Object
show all
Defined in:
lib/acme/heisenberg.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



17
18
19
# File 'lib/acme/heisenberg.rb', line 17

def inspect
  "#{to_s}"
end

#to_sObject



14
15
16
# File 'lib/acme/heisenberg.rb', line 14

def to_s
  rand(0..1) == 1 ? "false" : "true"
end