module RubyXL::RelationshipSupport::ClassMehods

Public Instance Methods

define_relationship(klass, accessor = nil) click to toggle source
# File lib/rubyXL/objects/relationships.rb, line 137
def define_relationship(klass, accessor = nil)
  class_variable_get(:@@ooxml_relationships)[klass] = accessor
  attr_accessor(accessor) if accessor
end