Module: MadFlatter::Optionable

Includes:
OptionsValidatable
Included in:
Service
Defined in:
lib/mad_flatter/optionable.rb

Overview

Defines methods and attributes to manage options.

Constant Summary

Constants included from OptionsValidatable

MadFlatter::OptionsValidatable::OPTIONS

Constants included from NamespaceOptionable

NamespaceOptionable::OPTION_NAMESPACE, NamespaceOptionable::OPTION_NAMESPACE_DEFAULT

Constants included from MetadataOptionable

MetadataOptionable::OPTION_METADATA, MetadataOptionable::OPTION_METADATA_DEFAULT, MetadataOptionable::OPTION_METADATA_EXCLUDE, MetadataOptionable::OPTION_METADATA_INCLUDE, MetadataOptionable::OPTION_METADATA_VALUES

Instance Method Summary collapse

Methods included from OptionsValidatable

#validate_option_keys!, #validate_option_metadata!, #validate_option_namespace!, #validate_options!, #validate_options_type!

Instance Method Details

#optionsObject



12
13
14
# File 'lib/mad_flatter/optionable.rb', line 12

def options
  @options || Options.default
end