Sha256: abb0e958ba81c66639376821706bae063ba909201d33f10388462c03ff08ed98

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

# -*- encoding : utf-8 -*-
module MDWA
  module DSL
    
    class Requirement
      
      attr_accessor :summary, :description, :alias, :users, :entities, :non_functional_description
      
      def initialize(summary = nil)
        self.summary  = summary
        
        self.users    = []
        self.entities = []
      end
      
      def alias
        @alias ||= self.summary.to_alias
      end
      
      def non_functional?
        !self.non_functional_description.blank?
      end
      
    end
    
  end # dsl
end # mdwa

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mdd-3.1.0 lib/mdwa/dsl/requirement.rb