Class: RailsAppGenerator::AddOns::Administrate

Inherits:
RailsAppGenerator::Addon show all
Defined in:
lib/rails_app_generator/addons/administrate.rb

Overview

Add Administrate to rails application

Instance Attribute Summary

Attributes inherited from RailsAppGenerator::Addon

#context, #dependencies, #gem_entries

Instance Method Summary collapse

Methods inherited from RailsAppGenerator::Addon

addon_name, dependencies, depends_on, gem, gem_entries, #initialize, required_gem, reset_gem_entries

Constructor Details

This class inherits a constructor from RailsAppGenerator::Addon

Instance Method Details

#after_bundleObject



18
19
20
# File 'lib/rails_app_generator/addons/administrate.rb', line 18

def after_bundle
  say 'Setting up Administrate - after bundle install'
end

#applyObject



10
11
12
# File 'lib/rails_app_generator/addons/administrate.rb', line 10

def apply
  say 'Setting up Administrate'
end

#before_bundleObject



14
15
16
# File 'lib/rails_app_generator/addons/administrate.rb', line 14

def before_bundle
  say 'Setting up Administrate - before bundle install'
end