Module: Blueprinter Private
- Defined in:
- lib/blueprinter/deprecation.rb,
lib/blueprinter.rb,
lib/blueprinter/base.rb,
lib/blueprinter/view.rb,
lib/blueprinter/version.rb,
lib/blueprinter/extractor.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 =
'0.25.3'.freeze
- 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".freeze
- 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".freeze
- 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".freeze
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.
30 31 32 |
# File 'lib/blueprinter/configuration.rb', line 30 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.
34 35 36 |
# File 'lib/blueprinter/configuration.rb', line 34 def self.configure yield configuration if block_given? end |