Class: ShopifyAPI::Inflector

Inherits:
Zeitwerk::GemInflector
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/shopify_api/inflector.rb

Instance Method Summary collapse

Instance Method Details

#camelize(basename, abspath) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/shopify_api/inflector.rb', line 9

def camelize(basename, abspath)
  if basename =~ /\Ashopify_api(.*)/
    "ShopifyAPI" + super(Regexp.last_match(1), abspath)
  else
    super
  end
end