Class: Tuya::ConfigGroup
- Inherits:
-
Object
- Object
- Tuya::ConfigGroup
- Defined in:
- lib/tycli/config.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#spec ⇒ Object
Returns the value of attribute spec.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(name) ⇒ ConfigGroup
constructor
A new instance of ConfigGroup.
Constructor Details
#initialize(name) ⇒ ConfigGroup
Returns a new instance of ConfigGroup.
84 85 86 87 88 89 |
# File 'lib/tycli/config.rb', line 84 def initialize(name) @name = name @spec = "#{name}Specs" @url = "https://gitlab.com/#{name}/#{@spec}.git" end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
81 82 83 |
# File 'lib/tycli/config.rb', line 81 def name @name end |
#spec ⇒ Object
Returns the value of attribute spec.
82 83 84 |
# File 'lib/tycli/config.rb', line 82 def spec @spec end |
#url ⇒ Object
Returns the value of attribute url.
83 84 85 |
# File 'lib/tycli/config.rb', line 83 def url @url end |