lib/openxml/drawingml/elements/blip.rb in openxml-drawingml-0.1.0 vs lib/openxml/drawingml/elements/blip.rb in openxml-drawingml-0.2.0
- old
+ new
@@ -1,13 +1,13 @@
module OpenXml
module DrawingML
module Elements
- class Blip < OpenXml::DrawingML::Element
+ class Blip < OpenXml::Element
include HasChildren
-
+ namespace :a
tag :blip
- attribute :compression_state, one_of: %i(email hqprint none print screen), displays_as: :cstate
+ attribute :compression_state, one_of: %i{ email hqprint none print screen }, displays_as: :cstate
with_namespace :r do
attribute :embed, expects: :string
attribute :link, expects: :string
end