removed warning about already existing constants

This commit is contained in:
Régis Hanol
2013-08-30 17:27:24 +02:00
parent 232f5bd743
commit 1a38f66c7e
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
module Plugin; end
class Plugin::Metadata
FIELDS = [:name, :about, :version, :authors]
FIELDS ||= [:name, :about, :version, :authors]
attr_accessor *FIELDS
def self.parse(text)