class Segmentor::Source
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)
Public Instance Methods
execute()
click to toggle source
# File lib/segmentor/source.rb, line 15 def execute raise NotImplementedError, 'execute must be implemented in a subclass' end