Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This works...
- attr_writer attr_name+"_history"
- # ... but this gives syntax errors
- def attr_name+"_history"=(value)
- @attr_name+"_history"=value
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement