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 spec
[pettanr/pettanr.git]
/
lib
/
local_manifest
/
form
/
field
/
tag
/
base.rb
1
module LocalManifest
2
module FormModule
3
module FieldModule
4
module TagModule
5
class Base < ManifestBase::TypeArgs
6
attr :options
7
8
def set_default
9
super
10
@args['options'] ||= {}
11
end
12
13
def init
14
super
15
@options = @args['options']
16
end
17
18
def form_name
19
@parent.form.name
20
end
21
22
def field_name
23
@parent.name
24
end
25
26
end
27
28
end
29
end
30
end
31
end