OSDN Git Service

temp
[pettanr/pettanr.git] / lib / element.rb
index a92f430..3cfa688 100644 (file)
@@ -68,6 +68,18 @@ module Element
        end
     end
     
+    def element_index
+      @element_index ||= self.t
+    end
+    
+    def parent
+      @parent ||= self.panel
+    end
+    
+    def parent= content
+      @parent = content
+    end
+    
     def new_index
       @new_index
     end