Last active
December 24, 2015 15:39
-
-
Save ohnishiakira/6821832 to your computer and use it in GitHub Desktop.
シンタックスエラーになる(MacOSX10.7.5、Ruby1.9.3-p448)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# coding: utf-8 | |
flag = true | |
array = [1,2,3] | |
# array.include?(3) だと動く | |
if flag && array.include? 3 | |
p 'ok' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment