First  |  Prev |  Next  |  Last
Pages: 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
[ANN] Money 2.3.0
[ANN] Money 2.3.0 has been released. Changes: - Currency is now represented by a Currency Object instead of a string. This facilitates easier work with exchange rates, etc. Website: http://github.com/FooBarWidget/money RDoc API: http://money.rubyforge.org -- Posted via http://www.ruby-forum.com/. ... 16 Apr 2010 09:26
Win32 service error
Hi all, Below is my code. require 'rubygems' require 'win32/service' include Win32 puts 'Currently Running Services:' Service.services do |svc| if svc.current_state == 'running' puts "#{svc.service_name}\t-\t#{svc.display_name}" end end for this i got "No such file to load --win32/service" How to corre... 16 Apr 2010 08:20
DB to CSV
Hello, i am very new to ruby and i have a major problem i would like to have some help on... I would like to execute a query on a database and export the values to the CSV file. I have tried many different ways and i can't get it to work. This is what i have so far: require 'oci8' require 'csv' time ... 16 Apr 2010 18:26
how to use csv to open file in gbk code
there is an file(/home/pt/test/shbase.csv) in gbk not utf-8,the following is my progrmm: require 'csv' CSV.open('/home/pt/test/shbase.csv', 'r') do |row| while line=row.gets puts line end end wrong message: /usr/local/ruby/lib/ruby/1.9.1/csv.rb:1988:in `=~': invalid byte sequence in UTF-8 (ArgumentError) how... 15 Apr 2010 23:39
[ANN] ri_cal 0.8.6 has been released
ri_cal version 0.8.6 has been released! A new Ruby implementation of RFC2445 iCalendar. The existing Ruby iCalendar libraries (e.g. icalendar, vpim) provide for parsing and generating icalendar files, but do not support important things like enumerating occurrences of repeating events. This is a clean-sla... 15 Apr 2010 22:33
SNMP trap forwarding.
Hi, I want to listen the trap and send this trap to another plataform. At first time and search in web I try this: ------------------------------------------- require 'snmp' m = SNMP::TrapListener.new(:Host => '10.10.5.114',:Port => 162, :Community => 'public',:MaxReceiveBytes => 18000) do |manager| man... 15 Apr 2010 15:51
DRb: execute method but dont wait for it to finish
Basically I want to execute a method on a drb service but not wait for it to return .... The DRb service is undumped ... basically just telling it to do something. Is there any easy way to do this? -- Posted via http://www.ruby-forum.com/. ... 16 Apr 2010 12:50
Deep Clone of array?
> Marshal.load(Marshal.dump(array)) I'm curious, has anybody done any benchmarking of this method? It seems to me this method would have the same kind of overhead & performance hit as PHP's unserialize(serialize(object)). I had a similar issue with deep copying an array just now... Instead of using Marsha... 15 Apr 2010 13:37
own exception classes
Hi, I'm working at a bigger private project with my brother now and I wanted to ask, in which cases you recommend own exception classes. One possibility would just be to use no own exceptions and just use raise "message". One other possibility would be to use an own exception class for every situation. What do... 15 Apr 2010 14:43
[ANN] PDF::Writer officially retired in favor of Prawn
I have an announcement to make: PDF::Writer is officially no longer supported or recommended in any way, please use Prawn instead: http://github.com/sandal/prawn Prawn, (the spiritual successor to PDF::Writer) is in the final planning stages for our sprint to 1.0. We are currently in the discussion phase ab... 15 Apr 2010 12:30
First  |  Prev |  Next  |  Last
Pages: 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129