Method: ConfigScripts::Seeds::SeedType#has_attributes
- Defined in:
- lib/config_scripts/seeds/seed_type.rb
#has_attributes(*new_attributes) ⇒ Array<Symbol>
This method adds new attributes to the ones written in this seed type.
102 103 104 |
# File 'lib/config_scripts/seeds/seed_type.rb', line 102 def has_attributes(*new_attributes) @attributes += new_attributes end |