Module: Patter
- Defined in:
- lib/patter.rb,
lib/patter/sample.rb,
lib/patter/source.rb,
lib/patter/pattern.rb,
lib/patter/version.rb,
lib/patter/inflector.rb,
lib/patter/source_provider.rb
Defined Under Namespace
Classes: Inflector, Pattern, Sample, Source, SourceProvider
Constant Summary collapse
- TAGS =
{ 'S' => :symbols, 'A' => :adjectives, 'D' => :digits, 'C' => :chars, 'N' => :nouns, }
- MODIFIERS =
{ 's' => :pluralize, 'a' => :altcase, 'l' => :downcase, 'u' => :upcase, 't' => :titleize, }
- VERSION =
'1.1.2'
Class Method Summary collapse
Class Method Details
.root_dir ⇒ Object
7 8 9 |
# File 'lib/patter.rb', line 7 def self.root_dir File.('..', __dir__) end |