Sha256: 52285b9714927ed6fc7bfb65ee6659ad5758886075522628e5ccb2c185bc8232

Contents?: true

Size: 378 Bytes

Versions: 5

Compression:

Stored size: 378 Bytes

Contents

module MPXJ
  # Represents the properties of a project
  class Properties < Container
  	include MPXJ::PropertyMethods

    # Retrieve the default calendar for this project
    #
    # @return [Calendar] default calendar
    def default_calendar
      parent_project.get_calendar_by_unique_id(attribute_values['default_calendar_unique_id']&.to_i)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mpxj-13.11.0 lib/mpxj/properties.rb
mpxj-13.10.0 lib/mpxj/properties.rb
mpxj-13.9.0 lib/mpxj/properties.rb
mpxj-13.8.0 lib/mpxj/properties.rb
mpxj-13.7.0 lib/mpxj/properties.rb