Class: Tuya::ConfigLib
- Inherits:
-
Object
- Object
- Tuya::ConfigLib
- Defined in:
- lib/tycli/config.rb
Instance Attribute Summary collapse
-
#group_name ⇒ Object
Returns the value of attribute group_name.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(group_name, name) ⇒ ConfigLib
constructor
A new instance of ConfigLib.
Constructor Details
#initialize(group_name, name) ⇒ ConfigLib
Returns a new instance of ConfigLib.
96 97 98 99 100 101 |
# File 'lib/tycli/config.rb', line 96 def initialize(group_name, name) @name = name @group_name = group_name @url = "https://gitlab.com/#{group_name}/#{name}.git" end |
Instance Attribute Details
#group_name ⇒ Object
Returns the value of attribute group_name.
94 95 96 |
# File 'lib/tycli/config.rb', line 94 def group_name @group_name end |
#name ⇒ Object
Returns the value of attribute name.
93 94 95 |
# File 'lib/tycli/config.rb', line 93 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
95 96 97 |
# File 'lib/tycli/config.rb', line 95 def url @url end |