# File lib/adhearsion/voip/asterisk/menu_command/menu_class.rb, line 14
          def initialize(*sound_files, &block)
            options = sound_files.last.kind_of?(Hash) ? sound_files.pop : Hash.new
  
            @string_of_digits    = String.new
            @tries_count         = 0 # Counts the number of tries the menu's been executed
            @sound_files         = sound_files.flatten
            @timeout             = options[:timeout] || DEFAULT_TIMEOUT
            @max_number_of_tries = options[:tries]   || DEFAULT_MAX_NUMBER_OF_TRIES
  
            @builder = Adhearsion::VoIP::Asterisk::Commands::MenuBuilder.new
            yield @builder
  
          end