lib/arstotzka/class_methods.rb in arstotzka-1.0.2 vs lib/arstotzka/class_methods.rb in arstotzka-1.0.3

- old
+ new

@@ -33,9 +33,10 @@ # @see Builder Arstotzka::Builder # @see # https://www.rubydoc.info/gems/activesupport/5.0.0.1/ActiveSupport/Concern # ActiveSupport::Concern def expose(*attr_names, **options) + options = Builder::DEFAULT_OPTIONS.merge(options.symbolize_keys) Builder.new(attr_names, self, options).build end end end