Module: Blueprinter Private
- Defined in:
- lib/blueprinter/extractor.rb,
lib/blueprinter.rb,
lib/blueprinter/base.rb,
lib/blueprinter/view.rb,
lib/blueprinter/version.rb,
lib/blueprinter/configuration.rb,
lib/blueprinter/view_collection.rb,
lib/blueprinter/blueprinter_error.rb,
lib/blueprinter/extractors/auto_extractor.rb,
lib/blueprinter/extractors/hash_extractor.rb,
lib/blueprinter/extractors/block_extractor.rb,
lib/blueprinter/helpers/active_record_helpers.rb,
lib/blueprinter/extractors/association_extractor.rb,
lib/blueprinter/extractors/public_send_extractor.rb
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.
Defined Under Namespace
Modules: ActiveRecordHelpers Classes: AssociationExtractor, AutoExtractor, Base, BlockExtractor, BlueprinterError, Configuration, Extractor, Field, HashExtractor, PublicSendExtractor, View, ViewCollection
Constant Summary collapse
- VERSION =
'0.6.0'
Class Method Summary collapse
- .configuration ⇒ Object private
- .configure {|configuration| ... } ⇒ Object private
Class Method Details
.configuration ⇒ Object
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.
10 11 12 |
# File 'lib/blueprinter/configuration.rb', line 10 def self.configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
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.
14 15 16 |
# File 'lib/blueprinter/configuration.rb', line 14 def self.configure yield configuration if block_given? end |