core/lib/generators/push_type/presenter/presenter_generator.rb
module PushType
class PresenterGenerator < Rails::Generators::NamedBase
source_root File.expand_path('../templates', __FILE__)
def create_presenter
template 'presenter.rb', "app/presenters/#{ file_name }_presenter.rb"
end
end
end