# File lib/bindata/sanitize.rb, line 47 def initialize(name, field_type, field_params, hints) @name = name @prototype = SanitizedPrototype.new(field_type, field_params, hints) end
# File lib/bindata/sanitize.rb, line 62 def has_parameter?(param) @prototype.has_parameter?(param) end
# File lib/bindata/sanitize.rb, line 66 def instantiate(value = nil, parent = nil) @prototype.instantiate(value, parent) end
# File lib/bindata/sanitize.rb, line 58 def name @name end
# File lib/bindata/sanitize.rb, line 54 def name_as_sym @name.nil? ? nil : @name.to_sym end