Module: Pah

Defined in:
lib/pah.rb,
lib/pah/cli.rb,
lib/pah/runner.rb,
lib/pah/version.rb,
lib/pah/commands.rb,
lib/pah/template.rb,
lib/pah/commands/app.rb,
lib/pah/commands/base.rb,
lib/pah/commands/help.rb,
lib/pah/configuration.rb,
lib/pah/templates/bin.rb,
lib/pah/templates/git.rb,
lib/pah/templates/gems.rb,
lib/pah/templates/puma.rb,
lib/pah/templates/rspec.rb,
lib/pah/commands/version.rb,
lib/pah/templates/bullet.rb,
lib/pah/templates/config.rb,
lib/pah/templates/heroku.rb,
lib/pah/templates/jumpup.rb,
lib/pah/templates/layout.rb,
lib/pah/templates/locale.rb,
lib/pah/templates/public.rb,
lib/pah/templates/readme.rb,
lib/pah/templates/bourbon.rb,
lib/pah/templates/cleanup.rb,
lib/pah/templates/rollbar.rb,
lib/pah/templates/capybara.rb,
lib/pah/templates/database.rb,
lib/pah/templates/newrelic.rb,
lib/pah/templates/ruby_env.rb,
lib/pah/templates/sendgrid.rb,
lib/pah/templates/generators.rb,
lib/pah/templates/inflection.rb,
lib/pah/templates/simple_form.rb,
lib/pah/templates/secret_token.rb,
lib/pah/templates/letter_opener.rb,
lib/pah/templates/rack_deflater.rb,
lib/pah/templates/canonical_host.rb,
lib/pah/templates/secure_headers.rb

Defined Under Namespace

Modules: Templates Classes: CLI, Commands, Configuration, Runner, Template

Constant Summary collapse

TEMPLATE_ROOT =
File.expand_path(File.join('pah'), File.dirname(__FILE__))
VERSION =
'0.0.28'.freeze
RUBY_VERSION =
'2.4.2'.freeze
RAILS_VERSION =
'5.1.2'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



3
4
5
# File 'lib/pah/configuration.rb', line 3

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



6
7
8
9
# File 'lib/pah/configuration.rb', line 6

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end