Skip to content

Instantly share code, notes, and snippets.

@pzaich
Created October 16, 2012 02:44
Show Gist options
  • Select an option

  • Save pzaich/3896976 to your computer and use it in GitHub Desktop.

Select an option

Save pzaich/3896976 to your computer and use it in GitHub Desktop.
initial method
def find_and_generate_overview
start_location = @raw_data =~ /starttext|/i
end_location = @raw_data =~ /endtext/i
self.overview = @raw_data[start_location, end_location]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment