Class: CIHelper::Tools::Inflector

Inherits:
Delegator
  • Object
show all
Includes:
Singleton
Defined in:
lib/ci_helper/tools/inflector.rb

Instance Method Summary collapse

Constructor Details

#initializeInflector

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