Guest User

Untitled

a guest
Apr 24th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. def attr_gen(str)
  2. if ["ce", "tz"].include? str[-2..-1] \
  3. or ["s", "x", "z", "ß"].include? str[-1..-1]
  4. return str << "’"
  5. end
  6. str << "s"
  7. end
Add Comment
Please, Sign In to add comment