mirror of
https://github.com/Evolix/chexpire.git
synced 2024-07-01 13:32:53 +02:00
21 lines
295 B
Ruby
21 lines
295 B
Ruby
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
|