Midwire Common Gem
Version: 0.1.15
A handy Ruby library for Midwire development
Installation
Add this line to your application's Gemfile:
gem 'midwire_common', :require => 'midwire_common'
And then execute:
$ bundle install
Usage
Ruby Class Extensions
To use the standard class extensions you must include the individual files or 'midwire_common/all' to include everything:
require 'midwire_common/all'
... or include individual files as necessary:
require 'midwire_common/string'
require 'midwire_common/array'
Rake Tasks
To use the rake tasks simply load that rake file from within your main Rakefile:
begin
require "midwire_common/rake_tasks"
rescue Exception => e
puts ">>> You have to run that under 'bundle exec'"
exit
end
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request