class Randexp::Japanese
Constants
- VERSION
Public Class Methods
hiragana(options = {})
click to toggle source
Your code goes here…
# File lib/randexp/japanese.rb, line 7 def self.hiragana(options = {}) length = options[:length] || 1 length.of{ ('ぁ'..'ん').to_a.pick}.join end