KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Does Rails 3 or Ruby have a built-in way to check if a variable is an integer? For example, 1.is_an_int #=> true "dadadad@asdasd.net".is_an_int #=> false?
Tags (comma-separated)
Save Edits
Cancel