Module: LexicalUnits::String
- Defined in:
- lib/lexical_units/string.rb
Overview
Use lexical units inside String class
Instance Method Summary collapse
Instance Method Details
#sentences ⇒ Object
9 10 11 |
# File 'lib/lexical_units/string.rb', line 9 def sentences LexicalUnits.sentences(self) end |
#words ⇒ Object
5 6 7 |
# File 'lib/lexical_units/string.rb', line 5 def words LexicalUnits.words(self) end |
#words_and_sentences ⇒ Object
13 14 15 |
# File 'lib/lexical_units/string.rb', line 13 def words_and_sentences LexicalUnits.words_and_sentences(self) end |
#words_without_digits ⇒ Object
17 18 19 |
# File 'lib/lexical_units/string.rb', line 17 def words_without_digits LexicalUnits.words_without_digits(self) end |