KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to store a "code block" in a variable to be reused, something like: block = do |test| puts test end 3.upto(8) block Can someone show me what am I doing so obviously wrong? (Or if it's just impossible)
Tags (comma-separated)
Save Edits
Cancel