Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have a variable in the partial:
- - one_of_four_key = (@page_name == 'app_publishers') ? "app_publishers" : "common"
- How could I use like a key it in the following row?
- - @packages_text[one_of_four_key].each_with_index do | (option, preview), i |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement