0.0
No commit activity in last 3 years
No release in over 3 years
Use this to store status information from across a big-program while keeping it simple.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.8.3
>= 0
~> 3.12
 Project Readme

status_file¶ ↑

Store a programs status to a file.

Install¶ ↑

gem install status_file

Sample¶ ↑

test_status_file.rb

require 'rubygems'
require 'status_file'

status = StatusFile.new '/tmp/status'
status.send "Initialized on: #{Time.now}"
status.send "Working... #{(1..100).to_a.shuffle.first}%"
status.update

Output¶ ↑

kazu@utopia:~/dev/git/breeze$ ruby test_status_file.rb
kazu@utopia:~/dev/git/breeze$ cat /tmp/status
Initialized on: Mon Apr 09 16:41:50 -0500 2012
Working... 68%

Copyright © 2012 kazuyoshi tlacaelel. See LICENSE.txt for further details.