daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest Jan 14th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ingredients = ["tomato", "arugula", "garlic", "olive oil", "balsamic", "parmesan"]
  2. enum = ingredients.enum_for(:select)
  3. p enum.each { |n| n =~ /ar/ }
RAW Paste Data
Top