Class: Anchor::Inference::JSONAPI::Infer::Base
- Inherits:
-
Object
- Object
- Anchor::Inference::JSONAPI::Infer::Base
show all
- Includes:
- Typeable
- Defined in:
- lib/anchor/inference/jsonapi/infer/base.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(klass) ⇒ Base
Returns a new instance of Base.
5
6
7
|
# File 'lib/anchor/inference/jsonapi/infer/base.rb', line 5
def initialize(klass)
@klass = klass
end
|
Class Method Details
.infer ⇒ Object
9
|
# File 'lib/anchor/inference/jsonapi/infer/base.rb', line 9
def self.infer(...) = new(...).infer
|
Instance Method Details
#infer ⇒ Object
10
|
# File 'lib/anchor/inference/jsonapi/infer/base.rb', line 10
def infer = raise NotImplementedError
|