Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

TODO

  • Loading branch information...
commit 71eab7bd813d6cc4740de50f8c781116293c3bc3 1 parent 6ce99c6
@bjeanes authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/ghost/tokenized_file.rb
View
8 lib/ghost/tokenized_file.rb
@@ -1,7 +1,11 @@
module Ghost
# TODO: make it not necessarily line-based tokenization
- # TODO: make it delegate or inherit from File to allow it to be a drop-in
- # to things expecting a File
+ # TODO: make it delegate or inherit from File/IO/StringIO to allow it to be a
+ # drop-in to things expecting an IO.
+ # - Allow consumer to manipulate a real IO, and sync the contents
+ # into the real file between the tokens?
+ # TODO: make this it's own gem/library. This has nothing to do (specifically)
+ # with hosts file management
class TokenizedFile
attr_accessor :path, :start_token, :end_token

0 comments on commit 71eab7b

Please sign in to comment.
Something went wrong with that request. Please try again.