Sha256: 6e0a1c8dbf9eac5bef715f3360821e2bc5f3ca2c926b4d4e611558964d10a288
Contents?: true
Size: 444 Bytes
Versions: 4
Compression:
Stored size: 444 Bytes
Contents
module OpenXml module DrawingML module Properties class SpacingPoints < IntegerProperty namespace :a tag :spcPts def valid? # Value range taken from OpenXml Spec Part 1, section 20.1.10.77 super && (0..158_400).cover?(value) end def invalid_message "Invalid spacing_points: must be a point value between 0 and 158,400" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems