condition = 1
if condition
puts "condition is true"
end
これは動かない
condition = 1
if 1 == condition
puts "condition is true"
end
が正しい
My Daily Programming Life...
condition = 1
if condition
puts "condition is true"
end
condition = 1
if 1 == condition
puts "condition is true"
end
0 コメント:
Post a Comment