You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: option_builder.rb
    path of file: ./repos/yabeda/lib/yabeda/dsl
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Yabeda
  module DSL
    # Collects options for metric initializer
    class Option
    
      def options_from(&block)
        instance_eval(&block) if block

        return options if unknown_options.empty?

        raise ConfigurationError,
              "option '#{unknown_options.first}' is not available for #{metric_klass.name}"
      end