Project

ringc

0.0
No release in over 3 years
Low commit activity in last 3 years
Ringc executes commands with rich stats.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

Ringc

Gem Version

Ringc executes commands with rich stats.

Installation

Add this line to your application's Gemfile:

gem 'ringc'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ringc

Usage

>> require "ringc"
>> result = Ringc.ring("ls -a")

>> result.success?
=> true

>> puts result.stdout
.
..
.git
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
README.md
Rakefile
bin
lib
ringc.gemspec
spec
=> nil

>> puts result.stderr

=> nil

>> result.real
=> 0.53631

>> result.total
=> 0.48

>> result.utime
=> 0.39999999999999997

>> result.stime
=> 0.08

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nownabe/ringc.