Class: CIHelper::Tools::Inflector
- Inherits:
-
Delegator
- Object
- Delegator
- CIHelper::Tools::Inflector
- Includes:
- Singleton
- Defined in:
- lib/ci_helper/tools/inflector.rb
Instance Method Summary collapse
-
#__getobj__ ⇒ Object
rubocop:enable Lint/MissingSuper.
-
#initialize ⇒ Inflector
constructor
rubocop:disable Lint/MissingSuper.
Constructor Details
#initialize ⇒ Inflector
rubocop:disable Lint/MissingSuper
9 10 11 |
# File 'lib/ci_helper/tools/inflector.rb', line 9 def initialize @inflector = Dry::Inflector.new { |inflections| inflections.acronym "DB" } end |
Instance Method Details
#__getobj__ ⇒ Object
rubocop:enable Lint/MissingSuper
14 15 16 |
# File 'lib/ci_helper/tools/inflector.rb', line 14 def __getobj__ @inflector end |