Class: Gct::Specification
- Inherits:
-
Object
- Object
- Gct::Specification
- Defined in:
- lib/gct/specification.rb
Overview
attr_accessor get and set attr_reader only get attr_writer only set
Instance Attribute Summary collapse
-
#dependencySpecs ⇒ Object
依赖specs.
-
#name ⇒ Object
spec name.
-
#priority ⇒ Object
优先级.
-
#status ⇒ Object
发布状态.
-
#tag ⇒ Object
tag版本.
Instance Method Summary collapse
-
#initialize ⇒ Specification
constructor
A new instance of Specification.
Constructor Details
#initialize ⇒ Specification
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
#dependencySpecs ⇒ Object
依赖specs
17 18 19 |
# File 'lib/gct/specification.rb', line 17 def dependencySpecs @dependencySpecs end |
#name ⇒ Object
spec name
20 21 22 |
# File 'lib/gct/specification.rb', line 20 def name @name end |
#priority ⇒ Object
优先级
8 9 10 |
# File 'lib/gct/specification.rb', line 8 def priority @priority end |
#status ⇒ Object
发布状态
14 15 16 |
# File 'lib/gct/specification.rb', line 14 def status @status end |
#tag ⇒ Object
tag版本
11 12 13 |
# File 'lib/gct/specification.rb', line 11 def tag @tag end |