Class: RactorDNS::Inflector

Inherits:
Zeitwerk::Inflector
  • Object
show all
Defined in:
lib/ractor_dns/inflector.rb

Instance Method Summary collapse

Instance Method Details

#camelize(basename, abspath) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/ractor_dns/inflector.rb', line 3

def camelize(basename, abspath)
  if basename =~ /\Aractor_dns(.*)/
    "RactorDNS" + super($1, abspath)
  else
    super
  end
end