Class: Jisota::Package
- Inherits:
-
Object
- Object
- Jisota::Package
- Defined in:
- lib/jisota/package.rb
Defined Under Namespace
Classes: DSL, InvalidBlockOrder, Section
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
(also: #key)
Returns the value of attribute name.
-
#params ⇒ Object
Returns the value of attribute params.
-
#sections ⇒ Object
Returns the value of attribute sections.
Instance Method Summary collapse
-
#initialize(name = nil, &block) ⇒ Package
constructor
A new instance of Package.
Constructor Details
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/jisota/package.rb', line 3 def description @description end |
#name ⇒ Object Also known as: key
Returns the value of attribute name.
3 4 5 |
# File 'lib/jisota/package.rb', line 3 def name @name end |
#params ⇒ Object
Returns the value of attribute params.
3 4 5 |
# File 'lib/jisota/package.rb', line 3 def params @params end |
#sections ⇒ Object
Returns the value of attribute sections.
3 4 5 |
# File 'lib/jisota/package.rb', line 3 def sections @sections end |