Class: Kampyo::Text
- Inherits:
-
Object
- Object
- Kampyo::Text
- Defined in:
- lib/kampyo/text.rb
Overview
Text
Instance Method Summary collapse
- #ext_reading(feature) ⇒ Object
-
#initialize ⇒ Text
constructor
A new instance of Text.
Constructor Details
#initialize ⇒ Text
Returns a new instance of Text.
10 |
# File 'lib/kampyo/text.rb', line 10 def initialize; end |
Instance Method Details
#ext_reading(feature) ⇒ Object
12 13 14 |
# File 'lib/kampyo/text.rb', line 12 def ext_reading(feature) (feature =~ /\A[\p{katakana}|ー]+\z/).nil? ? feature : nil end |