Class: FixtureKit::Adapter
- Inherits:
-
Object
- Object
- FixtureKit::Adapter
- Defined in:
- lib/fixture_kit/adapter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #execute ⇒ Object
- #identifier_for(_identifier) ⇒ Object
-
#initialize(options = {}) ⇒ Adapter
constructor
A new instance of Adapter.
Constructor Details
#initialize(options = {}) ⇒ Adapter
Returns a new instance of Adapter.
7 8 9 |
# File 'lib/fixture_kit/adapter.rb', line 7 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/fixture_kit/adapter.rb', line 5 def @options end |
Instance Method Details
#execute ⇒ Object
11 12 13 |
# File 'lib/fixture_kit/adapter.rb', line 11 def execute raise NotImplementedError, "#{self.class} must implement #execute" end |
#identifier_for(_identifier) ⇒ Object
15 16 17 |
# File 'lib/fixture_kit/adapter.rb', line 15 def identifier_for(_identifier) raise NotImplementedError, "#{self.class} must implement #identifier_for" end |