Module: ReaderHelper

Defined in:
lib/kanji_master/rails_helpers/reader_helper.rb

Instance Method Summary collapse

Instance Method Details

#alphabet?(text) ⇒ Boolean

Returns:

  • (Boolean)


14
15
16
17
# File 'lib/kanji_master/rails_helpers/reader_helper.rb', line 14

def alphabet?(text)
  reader = Reader.new
  reader.alphabet?(text)
end

#jp_zipcode?(text) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
7
# File 'lib/kanji_master/rails_helpers/reader_helper.rb', line 4

def jp_zipcode?(text)
  reader = Reader.new
  reader.zipcode?(text)
end

#kanji?(text) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
12
# File 'lib/kanji_master/rails_helpers/reader_helper.rb', line 9

def kanji?(text)
  reader = Reader.new
  reader.kanji?(text)
end