class Smuggle::Exporter::Resolver

Public Instance Methods

call(scope:) click to toggle source
# File lib/smuggle/exporter/resolver.rb, line 6
def call(scope:)
  Object.const_get("#{scope.name}Exporter")
rescue NameError
  raise ExporterNotFound
end