Sha256: 258f61c9f3c5a595c5ea2b9c5bd63f9ff88c563df7905e43fd739823eaa01711

Contents?: true

Size: 721 Bytes

Versions: 2

Compression:

Stored size: 721 Bytes

Contents

# move back
 
def rwdgutenbergbackward
  tempdoc = ""
  @gutendisplayvariable = ""
  
  tempcount = 0
  if @rwd_tab== "rwdgutenberg"
    @rwd_window	= "gutendisplaywindowtwo"
  end
       $booklocation = $booklocation - ($booksteps + $booksteps)
      while   tempcount < $booklocation + $booksteps  
       $bookfile.gets
    if tempcount > $booklocation -1       
               tempdoc += $bookfile.gets    #reads the file into the doc string
     end
  
        tempcount += 1
      end  
      
      $booklocation = $booklocation + $booksteps
       if $gutenbergcommand == "closebook"      
               $bookfile.close   
        end       
    @gutendisplayvariable = tempdoc
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rwdgutenberg-0.12 code/superant.com.gutenberg/rwdgutenbergbackward.rb
rwdgutenberg-0.13 code/superant.com.gutenberg/rwdgutenbergbackward.rb