Class: Releasinator::Validator::Submodule

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, path, url) ⇒ Submodule

Returns a new instance of Submodule.



358
359
360
361
362
# File 'lib/validator.rb', line 358

def initialize(name, path, url)
  @name=name
  @path=path
  @url=url
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



357
358
359
# File 'lib/validator.rb', line 357

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



357
358
359
# File 'lib/validator.rb', line 357

def path
  @path
end

#urlObject (readonly)

Returns the value of attribute url.



357
358
359
# File 'lib/validator.rb', line 357

def url
  @url
end