daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Jan 14th, 2018 54 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top