Class: Mobility::Backends::Null

Inherits:
Object
  • Object
show all
Includes:
Mobility::Backend
Defined in:
lib/mobility/backends/null.rb

Overview

Backend which does absolutely nothing. Mostly for testing purposes.

Instance Attribute Summary

Attributes included from Mobility::Backend

#attribute, #model

Backend Accessors collapse

Backend Configuration collapse

Methods included from Mobility::Backend

#==, #each, #each_locale, included, #initialize, #locales, #model_class, #options, #present?

Class Method Details

.configure(_) ⇒ Object



20
# File 'lib/mobility/backends/null.rb', line 20

def self.configure(_); end

Instance Method Details

#read(_locale, _options = nil) ⇒ NilClass

Returns:

  • (NilClass)


13
# File 'lib/mobility/backends/null.rb', line 13

def read(_locale, _options = nil); end

#write(_locale, _value, _options = nil) ⇒ NilClass

Returns:

  • (NilClass)


16
# File 'lib/mobility/backends/null.rb', line 16

def write(_locale, _value, _options = nil); end