Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

refine document.

git-svn-id: svn://svn.a-k-r.org/akr/truthtable/trunk@717 0ecacc03-ac1b-0410-941d-e442c79421a6
  • Loading branch information...
commit 555c4525513bfe94c79e2d9829b8b9f5d202ba51 1 parent b426604
@akr authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  README
  2. +1 −0  truthtable.rb
View
1  README
@@ -27,6 +27,7 @@ http://www.a-k-r.org/truthtable/
p TruthTable.new {|v| v[0] & v[1] }
#=> #<TruthTable: !v[0]&!v[1]=>false !v[0]&v[1]=>false v[0]&!v[1]=>false v[0]&v[1]=>true>
+ require 'pp'
pp TruthTable.new {|v| v[0] & v[1] }
#=>
#<TruthTable:
View
1  truthtable.rb
@@ -51,6 +51,7 @@
# p TruthTable.new {|v| v[0] & v[1] }
# #=> #<TruthTable: !v[0]&!v[1]=>false !v[0]&v[1]=>false v[0]&!v[1]=>false v[0]&v[1]=>true>
#
+# require 'pp'
# pp TruthTable.new {|v| v[0] & v[1] }
# #=>
# #<TruthTable:
Please sign in to comment.
Something went wrong with that request. Please try again.