Method: FeatureMap::CodeFeatures.find
- Defined in:
- lib/feature_map/code_features.rb
.find(name) ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'lib/feature_map/code_features.rb', line 22 def self.find(name) @index_by_name ||= begin result = {} all.each { |t| result[t.name] = t } result end @index_by_name[name] end |