Method: FormatFeature::Feature#code
- Defined in:
- lib/petro/format_feature.rb
#code ⇒ Object
48 49 50 51 |
# File 'lib/petro/format_feature.rb', line 48 def code return scaffold_code if scaffold? [model_code, controller_code].compact.join(' && ') end |