Class: SimpleRewriter::TypeDetector
- Inherits:
-
BaseService
- Object
- BaseService
- SimpleRewriter::TypeDetector
- Defined in:
- lib/simple_rewriter/type_detector.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(attr_value) ⇒ TypeDetector
constructor
A new instance of TypeDetector.
Methods inherited from BaseService
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
#call ⇒ Object
7 8 9 |
# File 'lib/simple_rewriter/type_detector.rb', line 7 def call detect_type end |