Sha256: 7bd209d44a6167cfe7aba14686751352bb72c38f5356e0ae8a279ef98ba2e1a8

Contents?: true

Size: 297 Bytes

Versions: 8

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

module JapanETC
  module DatabaseProvider
    class Base
      def self.inherited(subclass)
        all << subclass
      end

      def self.all
        @all ||= []
      end

      def fetch_tollbooths
        raise NotImplementedError
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
japan_etc-0.6.0 lib/japan_etc/database_provider/base.rb
japan_etc-0.5.2 lib/japan_etc/database_provider/base.rb
japan_etc-0.5.1 lib/japan_etc/database_provider/base.rb
japan_etc-0.5.0 lib/japan_etc/database_provider/base.rb
japan_etc-0.4.0 lib/japan_etc/database_provider/base.rb
japan_etc-0.3.0 lib/japan_etc/database_provider/base.rb
japan_etc-0.2.0 lib/japan_etc/database_provider/base.rb
japan_etc-0.1.0 lib/japan_etc/database_provider/base.rb