module CodeCaser::Analyze

Public Class Methods

to_camel(opts) click to toggle source
# File lib/code_caser.rb, line 14
def self.to_camel(opts)
  Analyzer.new(opts.merge(converter: SnakeConverter.new(opts))).analyze
end
to_snake(opts) click to toggle source
# File lib/code_caser.rb, line 18
def self.to_snake(opts)
  Analyzer.new(opts.merge(converter: CamelConverter.new(opts))).analyze
end