# http://www.codewars.com/kata/5390bac347d09b7da40006f6/
# --- iterations ---
class String
  def to_jaden_case
    split(" ").map(&:capitalize).join(" ")
  end
end

class String
  def to_jaden_case
    gsub(/(?<=\A|\s)(\w+)/, &:capitalize)
  end
end

Add code wars (7) jaden case
Add code wars (7) jaden case
