Sha256: e1e7660f535c41eba44038ff8da411726b957952da878d87c4dd08c0bee7c939

Contents?: true

Size: 880 Bytes

Versions: 8

Compression:

Stored size: 880 Bytes

Contents

#
#  Project BivouacSample
#
#  Created using bivouac on Mon Sep 10 21:47:54 +0200 2007.
#  Copyright (c) 2007 __My__. All rights reserved.
#

require 'ostruct'

module Bivouac
  class Environment
  
    attr_reader :environment
    
    def initialize
      @environment = OpenStruct.new( 
        # Address to bind to
        :address  => "0.0.0.0",
        
        # Application port
        :port     => 3301,
        
        # Name of the application
        # DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
        :appname  => "BivouacSample",
        
        # Path of the application
        # DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
        :appdir   => "bivouac_sample",

        # Organisation type of the application
        # DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
        :orgtype  => "GOH"
      )
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bivouac-0.0.7 examples/bivouac_sample/config/environment.rb
bivouac-0.1.0 examples/bivouac_sample/config/environment.rb
bivouac-0.0.8 examples/bivouac_sample/config/environment.rb
bivouac-0.0.9 examples/bivouac_sample/config/environment.rb
bivouac-0.1.1 examples/bivouac_sample/config/environment.rb
bivouac-0.1.2 examples/bivouac_sample/config/environment.rb
bivouac-0.1.3 examples/bivouac_sample/config/environment.rb
bivouac-0.1.4 examples/bivouac_sample/config/environment.rb