21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-01 16:30:49 +02:00
chexpire/app/services/whois/parser/entry/text.rb
2018-08-02 00:29:53 +02:00

24 lines
431 B
Ruby

# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
# License: GNU AGPL-3+ (see full text in LICENSE file)
require_relative "base"
module Whois
module Parser
module Entry
class Text < Base
attr_reader :text
def initialize(index, text)
super index
@text = text.strip
end
def text?
true
end
end
end
end
end