Module: RubyXL::RelationshipSupport::ClassMehods
- Defined in:
- lib/rubyXL/objects/relationships.rb
Instance Method Summary collapse
Instance Method Details
#define_relationship(klass, accessor = nil) ⇒ Object
137 138 139 140 |
# 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 |