Sha256: f522037097d83eb5695432297eff1128103ee6067a92bb22eff3a2afc50240d3

Contents?: true

Size: 519 Bytes

Versions: 40

Compression:

Stored size: 519 Bytes

Contents

module Fulmar
  module Domain
    module Model
      # Provides information about the current project
      class Project
        attr_reader :name, :description, :license, :authors, :config

        def initialize(config)
          @name = config[:name] || '<unnamed>'
          @description = config[:description] || '<no description>'
          @license = config[:license] || 'proprietary'
          @authors = config[:authors] || []
          @config = config[:config] || {}
        end
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
fulmar-1.8.13 lib/fulmar/domain/model/project.rb
fulmar-1.8.12 lib/fulmar/domain/model/project.rb
fulmar-1.8.11 lib/fulmar/domain/model/project.rb
fulmar-1.8.10 lib/fulmar/domain/model/project.rb
fulmar-1.8.9 lib/fulmar/domain/model/project.rb
fulmar-1.8.8 lib/fulmar/domain/model/project.rb
fulmar-1.8.7 lib/fulmar/domain/model/project.rb
fulmar-1.8.6 lib/fulmar/domain/model/project.rb
fulmar-1.8.5 lib/fulmar/domain/model/project.rb
fulmar-1.8.4 lib/fulmar/domain/model/project.rb
fulmar-1.8.3 lib/fulmar/domain/model/project.rb
fulmar-1.8.2 lib/fulmar/domain/model/project.rb
fulmar-1.8.1 lib/fulmar/domain/model/project.rb
fulmar-1.8.0 lib/fulmar/domain/model/project.rb
fulmar-1.7.5 lib/fulmar/domain/model/project.rb
fulmar-1.7.4 lib/fulmar/domain/model/project.rb
fulmar-1.7.3 lib/fulmar/domain/model/project.rb
fulmar-1.7.2 lib/fulmar/domain/model/project.rb
fulmar-1.7.1 lib/fulmar/domain/model/project.rb
fulmar-1.7.0 lib/fulmar/domain/model/project.rb