Method: FormatFeature#build_features
- Defined in:
- lib/petro/format_feature.rb
#build_features(options) ⇒ Object
What do you want??
* All I care about is the code to generate controllers
and models.
* A feature is both a controller and model, if they both
exist.
19 20 21 22 23 |
# File 'lib/petro/format_feature.rb', line 19 def build_features() ['features'].map do |f| Feature.new(f['name'], f) end end |