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-2.2.6 lib/fulmar/domain/model/project.rb
fulmar-2.2.5 lib/fulmar/domain/model/project.rb
fulmar-2.2.4 lib/fulmar/domain/model/project.rb
fulmar-2.2.3 lib/fulmar/domain/model/project.rb
fulmar-2.2.2 lib/fulmar/domain/model/project.rb
fulmar-2.2.1 lib/fulmar/domain/model/project.rb
fulmar-2.2.0 lib/fulmar/domain/model/project.rb
fulmar-2.1.2 lib/fulmar/domain/model/project.rb
fulmar-2.1.1 lib/fulmar/domain/model/project.rb
fulmar-2.1.0 lib/fulmar/domain/model/project.rb
fulmar-2.0.2 lib/fulmar/domain/model/project.rb
fulmar-2.0.1 lib/fulmar/domain/model/project.rb
fulmar-2.0.0 lib/fulmar/domain/model/project.rb
fulmar-1.10.1 lib/fulmar/domain/model/project.rb
fulmar-1.10.0 lib/fulmar/domain/model/project.rb
fulmar-1.9.2 lib/fulmar/domain/model/project.rb
fulmar-1.9.1 lib/fulmar/domain/model/project.rb
fulmar-1.9.0 lib/fulmar/domain/model/project.rb
fulmar-1.8.15 lib/fulmar/domain/model/project.rb
fulmar-1.8.14 lib/fulmar/domain/model/project.rb