Sha256: a6955ef9822b920fa964f41a92b2ab8aa59cc6562d2dd4b87fca46b998a7960d

Contents?: true

Size: 417 Bytes

Versions: 8

Compression:

Stored size: 417 Bytes

Contents

module Mobility
  module Backend
=begin

Backend which does absolutely nothing. Mostly for testing purposes.

=end
    class Null
      include Backend

      # @!group Backend Accessors
      # @return [NilClass]
      def read(*); end

      # @return [NilClass]
      def write(*); end
      # @!endgroup

      # @!group Backend Configuration
      def self.configure(*); end
      # @!endgroup
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mobility-0.1.20 lib/mobility/backend/null.rb
mobility-0.1.19 lib/mobility/backend/null.rb
mobility-0.1.18 lib/mobility/backend/null.rb
mobility-0.1.17 lib/mobility/backend/null.rb
mobility-0.1.16 lib/mobility/backend/null.rb
mobility-0.1.15 lib/mobility/backend/null.rb
mobility-0.1.14 lib/mobility/backend/null.rb
mobility-0.1.13 lib/mobility/backend/null.rb