class Rails::Generators::RepresenterGenerator
Public Instance Methods
copy_representer_file()
click to toggle source
# File lib/generators/representer_generator.rb, line 8 def copy_representer_file template "representer.tt", File.join("app/representers", class_path, "#{file_name}_representer.rb") end