Sha256: 33aac5e354204fb0e2fde7401ab6acde2f3281896dc4ad87c1cf0d93a2fbcc7f

Contents?: true

Size: 243 Bytes

Versions: 14

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true
class Russial
  module Dictionary
    module Initializer
      private

      def prepare_dictionary(dictionary)
        dictionary[word] || super
      rescue NoMethodError
        {}
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
russial-0.10.0 lib/russial/dictionary/initializer.rb
russial-0.9.2 lib/russial/dictionary/initializer.rb
russial-0.9.0 lib/russial/dictionary/initializer.rb
russial-0.8.4 lib/russial/dictionary/initializer.rb
russial-0.8.3 lib/russial/dictionary/initializer.rb
russial-0.8.2 lib/russial/dictionary/initializer.rb
russial-0.8.1 lib/russial/dictionary/initializer.rb
russial-0.8.0 lib/russial/dictionary/initializer.rb
russial-0.7.0 lib/russial/dictionary/initializer.rb
russial-0.6.1 lib/russial/dictionary/initializer.rb
russial-0.6.0 lib/russial/dictionary/initializer.rb
russial-0.5.3 lib/russial/dictionary/initializer.rb
russial-0.5.2 lib/russial/dictionary/initializer.rb
russial-0.5.0 lib/russial/dictionary/initializer.rb