Class: MyInflector

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

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



17
18
19
20
21
22
23
24
# File 'lib/rswim.rb', line 17

def camelize(basename, _abspath)
  case basename
  when 'rswim' then 'RSwim'
  when 'udp' then 'UDP'
  when 'io_loop' then 'IOLoop'
  else super
  end
end