Class: OpenXml::DrawingML::Properties::SpacingPoints
- Inherits:
-
IntegerProperty
- Object
- Properties::IntegerProperty
- IntegerProperty
- OpenXml::DrawingML::Properties::SpacingPoints
- Defined in:
- lib/openxml/drawingml/properties/spacing_points.rb
Instance Method Summary collapse
Instance Method Details
#invalid_message ⇒ Object
13 14 15 |
# File 'lib/openxml/drawingml/properties/spacing_points.rb', line 13 def "Invalid spacing_points: must be a point value between 0 and 158,400" end |
#valid? ⇒ Boolean
8 9 10 11 |
# File 'lib/openxml/drawingml/properties/spacing_points.rb', line 8 def valid? # Value range taken from OpenXml Spec Part 1, section 20.1.10.77 super && (0..158_400).cover?(value) end |