Sha256: 2a5ee18db04648f38b0811bda170f37d33f98c9359c19844f82dd86862759733

Contents?: true

Size: 187 Bytes

Versions: 4

Compression:

Stored size: 187 Bytes

Contents

# encoding: utf-8
require_relative "base"

module Corrector

  # Stores words translations.
  class Word < Base
    validates :from, format: { without: /\s/ }, allow_nil: false
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
corrector-0.1.0 app/models/corrector/word.rb
corrector-0.0.3 app/models/corrector/word.rb
corrector-0.0.2 app/models/corrector/word.rb
corrector-0.0.1 app/models/corrector/word.rb