Module: PaperTrailScrapbook Private
- Defined in:
- lib/paper_trail_scrapbook.rb,
lib/paper_trail_scrapbook/config.rb,
lib/paper_trail_scrapbook/changes.rb,
lib/paper_trail_scrapbook/chapter.rb,
lib/paper_trail_scrapbook/version.rb,
lib/paper_trail_scrapbook/versions.rb,
lib/paper_trail_scrapbook/life_history.rb,
lib/paper_trail_scrapbook/user_journal.rb,
lib/paper_trail_scrapbook/journal_entry.rb,
lib/paper_trail_scrapbook/version_helpers.rb,
lib/paper_trail_scrapbook/secondary_chapter.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Library namespace
Defined Under Namespace
Modules: VersionHelpers Classes: Changes, Chapter, Config, JournalEntry, LifeHistory, SecondaryChapter, UserJournal, Versions
Constant Summary collapse
- VERSION =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Current version
'0.2.0'
Class Method Summary collapse
-
.config {|@config| ... } ⇒ Object
(also: configure)
private
Returns PaperTrailScrapbook’s configuration object.
Class Method Details
.config {|@config| ... } ⇒ Object Also known as: configure
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns PaperTrailScrapbook’s configuration object.
26 27 28 29 30 |
# File 'lib/paper_trail_scrapbook.rb', line 26 def config @config ||= PaperTrailScrapbook::Config.instance yield @config if block_given? @config end |