Module: Avro::Builder::Types::ConfigurableType
- Defined in:
- lib/avro/builder/types/configurable_type.rb
Overview
This concern is used by Types that can be configured via the DSL. Only attributes that can be set via options are configured here.
Instance Method Summary collapse
Instance Method Details
#configure_options(options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/avro/builder/types/configurable_type.rb', line 8 def ( = {}) .each do |key, value| send("#{key}=", value) if dsl_option?(key) end end |