<commit_before>
require 'optparse'

module Commander
  class Command
    
    attr_reader :name, :examples, :options, :proxy_options
    attr_accessor :syntax, :description, :summary
    
    ##
    # Options struct.

    class Options
      include Blank
      
      def initialize
        @table = {}
      end
      
      def __hash__
        @table
      end
      
      def method_missing meth, *args, &block
        meth.to_s =~ /=$/ ? @table[meth.to_s.chop] = args.first : @table[meth.to_s]
      end
      
      def default defaults = {}
        defaults.each do |key, value|
          __send__ :"#{key}=", value if __send__(key).nil?
        end
      end
    end
        
    ##
    # Initialize new command with specified +name+.
    
    def initialize name
      @name, @examples, @when_called = name.to_s, [], []
      @options, @proxy_options = [], []
    end<commit_msg>Changed Options struct to always use symbols<commit_after>
require 'optparse'

module Commander
  class Command
    
    attr_reader :name, :examples, :options, :proxy_options
    attr_accessor :syntax, :description, :summary
    
    ##
    # Options struct.

    class Options
      include Blank
      
      def initialize
        @table = {}
      end
      
      def __hash__
        @table
      end
      
      def method_missing meth, *args, &block
        meth.to_s =~ /=$/ ? @table[meth.to_s.chop.to_sym] = args.first : @table[meth]
      end
      
      def default defaults = {}
        defaults.each do |key, value|
          __send__ :"#{key}=", value if __send__(key).nil?
        end
      end
    end
        
    ##
    # Initialize new command with specified +name+.
    
    def initialize name
      @name, @examples, @when_called = name.to_s, [], []
      @options, @proxy_options = [], []
    end
{'fraction_non_alphanumeric': 0.10700496414782129, 'fraction_numerical': 0.0, 'mean_word_length': 1.8657187993680884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1325563', 'n_tokens_mistral': 563, 'n_tokens_neox': 550, 'n_words': 147}