21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-03 01:10:50 +02:00
chexpire/app/services/whois/parser/entry/text.rb

22 lines
406 B
Ruby
Raw Normal View History

# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
# License: GNU AGPL-3+ (see full text in LICENSE file)
2018-05-30 12:04:07 +02:00
module Whois
module Parser
module Entry
class Text < Base
attr_reader :text
def initialize(index, text)
super index
@text = text.strip
end
2018-05-30 18:15:20 +02:00
def text?
true
end
2018-05-30 12:04:07 +02:00
end
end
end
end