<commit_before>require 'observer'

require "stairway/stairs"
require "stairway/step"
require "stairway/stop"

require "stairway/version"

module Stairway

  @@stairs = {}

  def self.register(stairs)
    @@stairs.merge! stairs.name.to_sym => stairs
  end

  def self.mount(stairs_name)
    @@stairs[stairs_name]
  end

  def self.stop
    raise Stop
  end

end<commit_msg>Accept multiple Stairs as argument for Stairway::register method<commit_after>require "stairway/stairs"
require "stairway/step"
require "stairway/stop"

require "stairway/version"

module Stairway

  @@stairs = {}

  def self.register(*stairs)
    stairs.each do |s|
      @@stairs.merge! s.name.to_sym => s
    end
  end

  def self.mount(stairs_name)
    @@stairs[stairs_name]
  end

  def self.stop
    raise Stop
  end

end
{'fraction_non_alphanumeric': 0.10763454317897372, 'fraction_numerical': 0.0, 'mean_word_length': 3.7058823529411766, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5582512', 'n_tokens_mistral': 292, 'n_tokens_neox': 276, 'n_words': 66}