Class: SimpleRewriter::TypeDetector

Inherits:
BaseService show all
Defined in:
lib/simple_rewriter/type_detector.rb

Instance Method Summary collapse

Methods inherited from BaseService

call

Constructor Details

#initialize(attr_value) ⇒ TypeDetector

Returns a new instance of TypeDetector.



3
4
5
# File 'lib/simple_rewriter/type_detector.rb', line 3

def initialize(attr_value)
  @attr_value = attr_value
end

Instance Method Details

#callObject



7
8
9
# File 'lib/simple_rewriter/type_detector.rb', line 7

def call
  detect_type
end