Module: OpenXml::RelatablePart::ClassMethods
- Defined in:
- lib/openxml/pptx/relatable_part.rb
Instance Method Summary collapse
Instance Method Details
#content_type(*args) ⇒ Object
20 21 22 23 |
# File 'lib/openxml/pptx/relatable_part.rb', line 20 def content_type(*args) @content_type = args.first if args.any? @content_type end |
#default_path(*args) ⇒ Object
15 16 17 18 |
# File 'lib/openxml/pptx/relatable_part.rb', line 15 def default_path(*args) @default_path = Pathname.new(args.first) if args.any? @default_path end |
#relationship_type(*args) ⇒ Object
10 11 12 13 |
# File 'lib/openxml/pptx/relatable_part.rb', line 10 def relationship_type(*args) @relationship_type = args.first if args.any? @relationship_type end |