Class: RgGen::Core::Builder::SimpleFeatureEntry

Inherits:
FeatureEntryBase show all
Defined in:
lib/rggen/core/builder/simple_feature_entry.rb

Instance Attribute Summary

Attributes inherited from FeatureEntryBase

#name, #registry

Instance Method Summary collapse

Methods inherited from FeatureEntryBase

#build_factory, #initialize, #match_entry_type?, #modify

Constructor Details

This class inherits a constructor from RgGen::Core::Builder::FeatureEntryBase

Instance Method Details

#setup(base_feature, factory, context, &body) ⇒ Object



7
8
9
10
# File 'lib/rggen/core/builder/simple_feature_entry.rb', line 7

def setup(base_feature, factory, context, &body)
  define_feature(base_feature, context, &body)
  @factory = factory
end