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.



401
402
403
404
405
# File 'lib/validator.rb', line 401

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



400
401
402
# File 'lib/validator.rb', line 400

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



400
401
402
# File 'lib/validator.rb', line 400

def path
  @path
end

#urlObject (readonly)

Returns the value of attribute url.



400
401
402
# File 'lib/validator.rb', line 400

def url
  @url
end