Sha256: 7dbb24ce46fa2f24e1ae531a6684b0d4a6a197885c2ab690f65ca128cd798883
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
module BasicPresenter module Generators class InstallGenerator < Rails::Generators::Base def create_presenters_dir empty_directory('app/presenters') end def create_presenter_file create_file "app/presenters/application_presenter.rb", <<-FILE class ApplicationPresenter < BasicPresenter::BasePresenter ## Shared Methods might come here end FILE end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
basic_presenter-0.0.2 | lib/generators/basic_presenter/install_generator.rb |