Module: ChangeLog

Defined in:
lib/generators/change_log/install_generator.rb,
lib/change_log.rb,
lib/change_log/config.rb,
lib/change_log/engine.rb,
lib/change_log/version.rb,
lib/change_log/mongoid_model.rb,
lib/generators/change_log/utils.rb,
lib/change_log/activerecord_model.rb,
app/helpers/change_log/application_helper.rb,
app/controllers/change_log/base_controller.rb,
app/controllers/change_log/application_controller.rb

Overview

Defined Under Namespace

Modules: ApplicationHelper, Config, Generators Classes: ApplicationController, Base, BaseController, Engine, InstallGenerator

Constant Summary collapse

VERSION =
"0.0.5"

Class Method Summary collapse

Class Method Details

.config(&block) ⇒ Object

Setup ChangeLog



6
7
8
9
10
11
12
# File 'lib/change_log.rb', line 6

def self.config(&block)
  if block_given?
    block.call(ChangeLog::Config)
  else
    ChangeLog::Config
  end
end