21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-06-29 12:32:53 +02:00
chexpire/app/services/whois/parser/entry/base.rb
2018-05-30 18:15:20 +02:00

35 lines
477 B
Ruby

module Whois
module Parser
module Entry
class Base
attr_reader :index
def initialize(index)
@index = index
@comment = false
end
def comment!
@comment = true
end
def comment?
@comment == true
end
def blank?
false
end
def field?
false
end
def text?
false
end
end
end
end
end