Class: Segmentor::Source
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Segmentor::Source
- Defined in:
- lib/segmentor/source.rb
Overview
Source runs the code and returns an array of ::Segmentor::Target you can dervie from this for different types of code sources (ie Ruby, JS, etc)
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
15 16 17 |
# File 'lib/segmentor/source.rb', line 15 def execute raise NotImplementedError, 'execute must be implemented in a subclass' end |