Sha256: dd66ed7ad80ab6e99f3db91d6a39a4d8b58a1d835e904d30d398194b706f400c

Contents?: true

Size: 571 Bytes

Versions: 13

Compression:

Stored size: 571 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net>
#++


require 'whois/record/scanners/base'


module Whois
  class Record
    module Scanners

      class BaseShared1 < Base

        self.tokenizers += [
            :skip_empty_line,
            :scan_available,
            :scan_keyvalue,
        ]


        tokenizer :scan_available do
          if @input.skip(/^No Data Found\n/)
            @ast["status:available"] = true
          end
        end

      end

    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
whois-3.4.3 lib/whois/record/scanners/base_shared1.rb
whois-3.4.2 lib/whois/record/scanners/base_shared1.rb
whois-3.4.1 lib/whois/record/scanners/base_shared1.rb
whois-3.4.0 lib/whois/record/scanners/base_shared1.rb
whois-3.3.1 lib/whois/record/scanners/base_shared1.rb
whois-3.3.0 lib/whois/record/scanners/base_shared1.rb
whois-3.2.1 lib/whois/record/scanners/base_shared1.rb
whois-3.2.0 lib/whois/record/scanners/base_shared1.rb
whois-3.1.3 lib/whois/record/scanners/base_shared1.rb
whois-3.1.2 lib/whois/record/scanners/base_shared1.rb
whois-3.1.1 lib/whois/record/scanners/base_shared1.rb
whois-3.1.0 lib/whois/record/scanners/base_shared1.rb
whois-3.0.0 lib/whois/record/scanners/base_shared1.rb