Last active
August 29, 2015 14:04
-
-
Save sarsena/ecf7f6ed87669fc1013e to your computer and use it in GitHub Desktop.
Phase 2?
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
class Response < ActiveRecord::Base | |
def phase2? | |
if self == "yes" | |
"Nah, Im Good" | |
elsif self =="no" | |
"Nah I only want to work for Phase2" | |
end | |
end | |
end | |
response.phase2? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment