Module: Pageflow::EntryTypeConfiguration
- Defined in:
- lib/pageflow/entry_type_configuration.rb
Overview
Include in entry type specific configuration classes.
Defined Under Namespace
Classes: FeaturesDelegator
Instance Attribute Summary collapse
- #features ⇒ Object readonly
Instance Method Summary collapse
Instance Attribute Details
#features ⇒ Object (readonly)
12 13 14 |
# File 'lib/pageflow/entry_type_configuration.rb', line 12 def features @features end |
Instance Method Details
#initialize(config, entry_type) ⇒ 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.
7 8 9 10 |
# File 'lib/pageflow/entry_type_configuration.rb', line 7 def initialize(config, entry_type) @config = config @features = FeaturesDelegator.new(config, entry_type) end |
#plugin(plugin) ⇒ Object
24 25 26 |
# File 'lib/pageflow/entry_type_configuration.rb', line 24 def plugin(plugin) plugin.configure(self) end |