Class: Tuya::ConfigGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/tycli/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



81
82
83
# File 'lib/tycli/config.rb', line 81

def name
  @name
end

#specObject

Returns the value of attribute spec.



82
83
84
# File 'lib/tycli/config.rb', line 82

def spec
  @spec
end

#urlObject

Returns the value of attribute url.



83
84
85
# File 'lib/tycli/config.rb', line 83

def url
  @url
end