motion-prime/sections/table/table_delegate.rb in motion-prime-0.9.9 vs motion-prime/sections/table/table_delegate.rb in motion-prime-0.9.9.1
- old
+ new
@@ -1,8 +1,9 @@
module MotionPrime
class TableDelegate
include DelegateMixin
attr_accessor :table_section
+
def initialize(options)
self.table_section = options[:section].try(:weak_ref)
@section_instance = table_section.to_s
end
\ No newline at end of file