Module: Avro::Builder::Types::TopLevel
- Includes:
- TopLevelErrorHandling
- Defined in:
- lib/avro/builder/types/top_level.rb
Overview
This concern is used by types that can be defined at the top-level, i.e. outside a field.
Defined Under Namespace
Modules: TopLevelErrorHandling
Instance Attribute Summary collapse
-
#namespace ⇒ Object
writeonly
Namespace is settable as a top-level option.
Class Method Summary collapse
Methods included from TopLevelErrorHandling
Instance Attribute Details
#namespace=(value) ⇒ Object (writeonly)
Namespace is settable as a top-level option
22 23 24 |
# File 'lib/avro/builder/types/top_level.rb', line 22 def namespace=(value) @namespace = value end |
Class Method Details
.included(base) ⇒ Object
11 12 13 |
# File 'lib/avro/builder/types/top_level.rb', line 11 def self.included(base) base.add_option_name :_name end |