Class: Gct::Specification

Inherits:
Object
  • Object
show all
Defined in:
lib/gct/specification.rb

Overview

attr_accessor get and set attr_reader only get attr_writer only set

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSpecification

Returns a new instance of Specification.



22
23
24
25
26
27
28
# File 'lib/gct/specification.rb', line 22

def initialize()
  @priority = priority
  @status = status
  @tag = tag
  @dependencySpecs = dependencySpecs
  @name = name
end

Instance Attribute Details

#dependencySpecsObject

依赖specs



17
18
19
# File 'lib/gct/specification.rb', line 17

def dependencySpecs
  @dependencySpecs
end

#nameObject

spec name



20
21
22
# File 'lib/gct/specification.rb', line 20

def name
  @name
end

#priorityObject

优先级



8
9
10
# File 'lib/gct/specification.rb', line 8

def priority
  @priority
end

#statusObject

发布状态



14
15
16
# File 'lib/gct/specification.rb', line 14

def status
  @status
end

#tagObject

tag版本



11
12
13
# File 'lib/gct/specification.rb', line 11

def tag
  @tag
end