Sha256: 55e52e1d179ffd04d4a7ab7af46e42e583d3f6afd071453c517bdb22a52d4fb6
Contents?: true
Size: 1018 Bytes
Versions: 8
Compression:
Stored size: 1018 Bytes
Contents
# # Project <%= @appname %> # # Created using bivouac on <%= Time.now %>. # Copyright (c) <%= Time.now.year %> __My__. All rights reserved. # require 'ostruct' module Bivouac class Environment attr_reader :environment def initialize @environment = OpenStruct.new( # Address to bind to :address => "<%= @conf.address %>", # Application port :port => <%= @conf.port %>, # Database configuration :db => <%= @conf.db %>, # Name of the application # DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING! :appname => "<%= @conf.appname %>", # Path of the application # DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING! :appdir => "<%= @conf.appdir %>", # Organisation type of the application # DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING! :orgtype => "<%= @conf.orgtype %>" ) end end end
Version data entries
8 entries across 8 versions & 1 rubygems