Sha256: fb3c4b3d950a24e724afccfc3332356832bfeacbce380d62ca5cb45dd2cc1da2
Contents?: true
Size: 589 Bytes
Versions: 1
Compression:
Stored size: 589 Bytes
Contents
module MPXJ # Represents a resource in a project plan class Resource < Container include MPXJ::ResourceMethods attr_reader :assignments def initialize(parent_project, attribute_values) super(parent_project, attribute_values) @assignments = [] end # Retrieve the calendar used by this resource # # @return [Calendar] resource calendar # @return [nil] if this resource does not have a calendar def calendar parent_project.get_calendar_by_unique_id(attribute_values['calendar_unique_id']&.to_i) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mpxj-13.7.0 | lib/mpxj/resource.rb |