lib/rocx/properties/text_direction.rb in rocx-0.5.7 vs lib/rocx/properties/text_direction.rb in rocx-0.5.8
- old
+ new
@@ -1,14 +1,10 @@
module Rocx
module Properties
- class TextDirection < BaseProperty
+ class TextDirection < ValueProperty
def ok_values
%i(lr lrV rl rlV tb tbV)
- end
-
- def to_xml(xml)
- xml["w"].public_send(tag, "w:val" => value)
end
end
end
end