Created
January 21, 2013 09:22
-
-
Save bluerabbit/4584817 to your computer and use it in GitHub Desktop.
rspecで実行中かを判定する方法
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
def rspec? | |
__FILE__ != $0 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment