Sha256: 04938e7dd80a397e394c5c756407a34b0e29824e50118045b30f51182fc8c0d8

Contents?: true

Size: 220 Bytes

Versions: 1

Compression:

Stored size: 220 Bytes

Contents

module NgWord
  class VerificationResult
    attr_reader :ng_word

    def initialize(is_valid, ng_word: nil)
      @is_valid = is_valid
      @ng_word = ng_word
    end

    def valid?
      @is_valid
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ng_word-0.1.0 lib/ng_word/verification_result.rb