Class: Ecogem::Gitsfile::Entries::Keys

Inherits:
Util::Config::Entry show all
Defined in:
lib/ecogem/gitsfile/entries/keys.rb

Instance Attribute Summary

Attributes inherited from Util::Config::Entry

#key

Instance Method Summary collapse

Methods inherited from Util::Config::Entry

create, #initialize

Constructor Details

This class inherits a constructor from Ecogem::Util::Config::Entry

Instance Method Details

#parse(data) ⇒ Object



5
6
7
# File 'lib/ecogem/gitsfile/entries/keys.rb', line 5

def parse(data)
  (data || []).dup
end

#unparse(value) ⇒ Object



9
10
11
# File 'lib/ecogem/gitsfile/entries/keys.rb', line 9

def unparse(value)
  value.dup
end