Sha256: 33aa4042c24708d7e74c52c0951bdc2562086a519760353615c89eebd636c193

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

require "innate"

module <%= @options[:lib_name] %>
  include Innate::Optioned

  options.dsl do
    o "Database", :db, ENV["<%=options[:lib_name] %>_DB"] || "postgres://postgres@localhost/<%= @options[:lib_name_u] %>"

    o "Logfile", :logfile, ENV["<%=options[:lib_name] %>_LOG"] || $stdout

    o "Log Level", :log_level, ENV["<%=options[:lib_name] %>_LogLevel"] || Logger::INFO
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
seedling-0.0.6 lib/templates/core/options.rb.seed