Class: Udb::PortfolioExtensionRequirement

Inherits:
Object
  • Object
show all
Extended by:
Forwardable, T::Sig
Defined in:
lib/udb/obj/portfolio.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, requirements, arch:, note:, req_id:, presence:)

Parameters:



44
45
46
47
48
49
# File 'lib/udb/obj/portfolio.rb', line 44

def initialize(name, requirements, arch:, note:, req_id:, presence:)
  @ext_req = arch.extension_requirement(name, requirements)
  @note = note
  @req_id = req_id
  @presence = presence
end

Instance Attribute Details

#ext_reqObject (readonly)

Returns the value of attribute ext_req.



32
33
34
# File 'lib/udb/obj/portfolio.rb', line 32

def ext_req
  @ext_req
end

#noteObject (readonly)

Returns the value of attribute note.



32
33
34
# File 'lib/udb/obj/portfolio.rb', line 32

def note
  @note
end

#presenceObject (readonly)

Returns the value of attribute presence.



32
33
34
# File 'lib/udb/obj/portfolio.rb', line 32

def presence
  @presence
end

#req_idObject (readonly)

Returns the value of attribute req_id.



32
33
34
# File 'lib/udb/obj/portfolio.rb', line 32

def req_id
  @req_id
end