Sha256: 3b90728d528e8aba9307f6ec44bba92fb7b291616e433c291f5888e3774d1948
Contents?: true
Size: 489 Bytes
Versions: 10
Compression:
Stored size: 489 Bytes
Contents
require 'subtrac/client' module Subtrac class Project attr_reader :display_name, :path, :client, :type, :template attr_accessor :svn_dir, :trac_dir def initialize(project_name,client_name,project_type) @display_name = project_name.gsub(/^[a-z]|\s+[a-z]/) { |a| a.upcase } @path = project_name.downcase @client = Client.new(client_name) @type = project_type @template = File.join(File.dirname(__FILE__), "project", project_type) end end end
Version data entries
10 entries across 10 versions & 1 rubygems