OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add comic story
[pettanr/pettanr.git]
/
lib
/
peta
/
root.rb
1
module Peta
2
class Root < ElementNestableContent
3
self.abstract_class = true
4
5
# Dynamic Methods
6
7
def self.load_manifest
8
super
9
# Class Methods
10
# Instance Methods
11
end
12
13
# Class Methods
14
15
# Instance Methods
16
def copy_attributes opt = {}
17
r = self.attributes
18
r.delete 'id'
19
r.delete 'author_id'
20
r.delete 'created_at'
21
r.delete 'updated_at'
22
r
23
end
24
25
end
26
end
27