Sha256: c495d2899c7aaf94d3162093bec2e44dcf7d8833582c441b633bce550fbf6aac

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

# phantomjs.rb

[![Build Status](https://secure.travis-ci.org/westoque/phantomjs.rb.png?branch=master)](http://travis-ci.org/westoque/phantomjs.rb)

A ruby wrapper for phantomjs.

## Requirements

You have to have `phantomjs` installed.

## Install

```sh
gem install phantomjs.rb
```

## Usage

```rb
script = File.expand_path('my_runner.js')
output = Phantomjs.run(script, 'myarg1', 'myarg2')
p output # Whatever it outputs from STDOUT
```

## License

MIT

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phantomjs.rb-1.0.2 README.md
phantomjs.rb-1.0.1 README.md
phantomjs.rb-1.0.0 README.md