OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix select item translation
[pettanr/pettanr.git]
/
lib
/
manifest
/
model
/
attribute
/
source
/
base.rb
1
module Manifest
2
module ModelModule
3
module AttributeModule
4
module SourceModule
5
class Base < ManifestBase::TypeArgs
6
attr :has_translation
7
8
def set_default
9
super
10
end
11
12
def init
13
super
14
end
15
16
def item_name
17
@parent.item_name
18
end
19
20
def translate?
21
@has_translation > 0
22
end
23
24
end
25
26
end
27
end
28
end
29
end