Module: Blueprinter Private
- Defined in:
- lib/blueprinter/field.rb,
lib/blueprinter.rb,
lib/blueprinter/base.rb,
lib/blueprinter/view.rb,
lib/blueprinter/version.rb,
lib/blueprinter/extractor.rb,
lib/blueprinter/deprecation.rb,
lib/blueprinter/empty_types.rb,
lib/blueprinter/transformer.rb,
lib/blueprinter/configuration.rb,
lib/blueprinter/view_collection.rb,
lib/blueprinter/blueprinter_error.rb,
lib/blueprinter/helpers/base_helpers.rb,
lib/blueprinter/helpers/type_helpers.rb,
lib/blueprinter/extractors/auto_extractor.rb,
lib/blueprinter/extractors/hash_extractor.rb,
lib/blueprinter/extractors/block_extractor.rb,
lib/blueprinter/formatters/date_time_formatter.rb,
lib/generators/blueprinter/blueprint_generator.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: BaseHelpers, EmptyTypes, Generators, TypeHelpers Classes: AssociationExtractor, AutoExtractor, Base, BlockExtractor, BlueprinterError, Configuration, DateTimeFormatter, DefinitionPlaceholder, Deprecation, Extractor, Field, HashExtractor, PublicSendExtractor, Transformer, View, ViewCollection
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.
'1.1.2'
- EMPTY_COLLECTION =
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.
'empty_collection'
- EMPTY_HASH =
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.
'empty_hash'
- EMPTY_STRING =
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.
'empty_string'
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.
42 43 44 |
# File 'lib/blueprinter/configuration.rb', line 42 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.
46 47 48 |
# File 'lib/blueprinter/configuration.rb', line 46 def self.configure yield configuration if block_given? end |