Sha256: 5a55f5304290ea244a5f32d5125fd5e6aaa85aae50806abd7a18cb90022729a0

Contents?: true

Size: 1006 Bytes

Versions: 1

Compression:

Stored size: 1006 Bytes

Contents

#!/usr/bin/env ruby
# Copyright Ultragreen (c) 2005
#---
# Author : Romain GEORGES 
# type : class definition Ruby
# obj : Generic config library
#---
# $Id$


require 'rubygems'
require 'methodic'
require 'services'

module Carioca
  module Services 
    
    class Configuration
      
      private
      # constructor type could be a section name in <get_sections> result
      # override could be true of false and precise if the block of the application have 
      # to override the main config hash result, default is true 
      def initialize(_options)
        options = Methodic.get_options(_options)
        options.specify_classes_of :config_file => String
        options.validate!
        
        
        
        
        
      end
      
      def test(params)
        return 'toto'
      end
      
    end
  end
  
  
  
end


# interactive hacks 
if $0 == __FILE__ then
  puts "#{File::basename(__FILE__)}:"
  puts 'this is a RUBY library file'
  puts "Copyright (c) Ultragreen"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carioca-0.1 lib/services/configuration.rb