Class: N1Finder::Adapters::NullAdapter

Inherits:
BaseAdapter show all
Defined in:
lib/n_1_finder/adapters/null_adapter.rb

Overview

Used when adapter not specified. Null object

Constant Summary

Constants inherited from BaseAdapter

BaseAdapter::MAIN_METHOD_ALIAS

Instance Attribute Summary

Attributes inherited from BaseAdapter

#storage

Instance Method Summary collapse

Methods inherited from BaseAdapter

#exec, #initialize

Constructor Details

This class inherits a constructor from N1Finder::Adapters::BaseAdapter

Instance Method Details

#remove_trapnil

Don’t do anything

Returns:

  • (nil)


14
15
# File 'lib/n_1_finder/adapters/null_adapter.rb', line 14

def remove_trap
end

#set_trapnil

Don’t do anything

Returns:

  • (nil)


8
9
# File 'lib/n_1_finder/adapters/null_adapter.rb', line 8

def set_trap
end