OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b579ba97add495237b7f3fb0aa33e859771f81a8
[pettanr/pettanr.git]
/
lib
/
local_manifest
/
form
/
field.rb
1
ManifestBase.require_modules "local_manifest/form/field/",
2
%w|field|
3
4
module LocalManifest
5
module FormModule
6
class FieldFactory < ManifestBase::Factory
7
include FieldModule
8
9
def self.types
10
{
11
'element' => ElementField, 'part' => PartField
12
}
13
end
14
15
def self.default_type
16
'element'
17
end
18
19
end
20
end
21
end