Sha256: 4d45042cb2950227db99f3120c61bf539a846eb62c7bd31836529b50fb76dde7
Contents?: true
Size: 655 Bytes
Versions: 29
Compression:
Stored size: 655 Bytes
Contents
#!/usr/bin/env ruby $ver = '1.1' def main require 'rubygems' require 'ric' include Ric::Colors dir = File.dirname( File.dirname(__FILE__) + '/../..' ) ver_manual = File.read( File.expand_path('VERSION',dir) ) ver = Ric::Zibaldone.version rescue "UnknownVersionErr(#{$!})" puts "#{$0} v.#{$ver} -- ARGS='#{ARGV.join(' ')}'" puts "ric library version: ''#{ver_manual}'" puts "Welcome to ric, the swiss-army knife tool from Riccardo,\n included in riclib gem (version=#{ver})" pyellow 'ciao' rescue "Errors with color yellow: #{$!}" Ric::Zibaldone.say_hello() #Ric::Html.anything_to_html( {:simbolo => 'stringa' } ) end main
Version data entries
29 entries across 29 versions & 1 rubygems