module CodeCaser

Constants

VERSION

Public Class Methods

to_camel(opts) click to toggle source
# File lib/code_caser.rb, line 5
def self.to_camel(opts)
  Caser.new(opts.merge({ converter: SnakeConverter.new(opts) })).start
end
to_snake(opts) click to toggle source
# File lib/code_caser.rb, line 9
def self.to_snake(opts)
  Caser.new(opts.merge({ converter: CamelConverter.new(opts) })).start
end