Class: OpenXml::DrawingML::Properties::BulletSizePoints
- Inherits:
-
ValueProperty
- Object
- Properties::ValueProperty
- ValueProperty
- OpenXml::DrawingML::Properties::BulletSizePoints
- Defined in:
- lib/openxml/drawingml/properties/bullet_size_points.rb
Instance Method Summary collapse
Instance Method Details
#invalid_message ⇒ Object
13 14 15 |
# File 'lib/openxml/drawingml/properties/bullet_size_points.rb', line 13 def "Invalid bullet_size_points: value must be a point value between 100 and 400,000" end |
#valid? ⇒ Boolean
8 9 10 11 |
# File 'lib/openxml/drawingml/properties/bullet_size_points.rb', line 8 def valid? # Value range taken from OpenXml Spec Part 1, section 20.1.10.67 value.is_a?(Integer) && (100..400_000).cover?(value) end |