class Smuggle::Generators::ExporterGenerator

Public Instance Methods

create_exporter() click to toggle source
# File lib/generators/smuggle/exporter/exporter_generator.rb, line 10
def create_exporter
  template "exporter.rb", File.join("app/exporters", class_path, "#{file_name}_exporter.rb")
end