xml

Ruby code posted by me
created at 03 Mar 14:28, updated at 08 Mar 19:56

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env ruby
APP_ROOT = File.join(File.dirname(__FILE__), '..')

begin
  require 'rubigen'
rescue LoadError
  require 'rubygems'
  require 'rubigen'
end
require 'rubigen/scripts/generate'

ARGV.shift if ['--help', '-h'].include?(ARGV[0])
RubiGen::Base.use_component_sources! [:activemerchant, :rubygems, :test_unit]
RubiGen::Scripts::Generate.new.run(ARGV)
376 Bytes in 2 ms with coderay