Class: Stupidedi::Schema::CodeList
Defined Under Namespace
Classes: External, Internal
Instance Method Summary
collapse
Methods included from Inspect
#inspect
Class Method Details
81
82
83
|
# File 'lib/stupidedi/schema/code_list.rb', line 81
def build(hash)
CodeList::Internal.new(hash)
end
|
86
87
88
|
# File 'lib/stupidedi/schema/code_list.rb', line 86
def external(id, *ignored)
CodeList::External.new(id)
end
|
Instance Method Details
#internal? ⇒ Boolean
9
10
11
|
# File 'lib/stupidedi/schema/code_list.rb', line 9
def internal?
not external?
end
|