Module: Header

Defined in:
lib/ycn/header.rb

Class Method Summary collapse

Class Method Details

.configure_from(hash) ⇒ Object



2
3
4
5
6
7
8
9
# File 'lib/ycn/header.rb', line 2

def self.configure_from hash
  configatron do |c|
    c.program_name = hash[:name]
    c.author_name  = hash[:author]
    c.description  = hash[:desc]
    c.package      = hash[:pack]
  end
end