Class: Flatter::Extension::Factory

Inherits:
Builder
  • Object
show all
Defined in:
lib/flatter/extension/factory.rb

Constant Summary

Constants inherited from Builder

Builder::ExtensionBlockAlreadyDefined

Instance Method Summary collapse

Methods inherited from Builder

#add_option, #extend, extends, #extends?, #initialize, target_name

Constructor Details

This class inherits a constructor from Flatter::Extension::Builder

Instance Method Details

#extend!Object



5
6
7
# File 'lib/flatter/extension/factory.rb', line 5

def extend!
  ::Flatter::Mapper::Factory.send(:prepend, extension) if extends?
end