lib/rocx/properties/div_id.rb in rocx-0.5.7 vs lib/rocx/properties/div_id.rb in rocx-0.5.8
- old
+ new
@@ -1,23 +1,6 @@
module Rocx
module Properties
- class DivId < BaseProperty
-
- def valid?
- value.is_a?(Integer)
- end
-
- def invalid_message
- "Invalid value for #{name}; acceptable values are integers"
- end
-
- def tag
- :divId
- end
-
- def to_xml(xml)
- xml["w"].public_send(tag, "w:val" => value)
- end
-
+ class DivId < IntegerProperty
end
end
end