paolodona / sequence_recognizer

This URL has Read+Write access

Paolo Dona (author)
Thu Dec 11 19:10:08 -0800 2008
sequence_recognizer / sequence_recognizer.rb.empty
100644 18 lines (15 sloc) 0.339 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'set'
 
module SequenceRecognizer
  def self.included(base)
    base.extend(Methods)
    base.class_eval do
      include Methods
    end
  end
  
  module Methods
    def extract_sequences_from(array_of_shortcodes, shortcode_length = 5)
      raise "implement me please!"
      # implement your method here
    end
  end
end