Permalink
Browse files

Use Rubinius::Type instead of Type

  • Loading branch information...
1 parent f5f8efe commit ec8802f4ed9d421afcef0a7d28cb8723c41d68b4 @dbussink dbussink committed Mar 19, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/18/socket.rb
  2. +1 −1 lib/19/socket.rb
  3. +1 −1 lib/syslog.rb.ffi
View
@@ -437,7 +437,7 @@ module ListenAndAccept
include IO::Socketable
def listen(backlog)
- backlog = Type.coerce_to backlog, Fixnum, :to_int
+ backlog = Rubinius::Type.coerce_to backlog, Fixnum, :to_int
err = Socket::Foreign.listen descriptor, backlog
View
@@ -446,7 +446,7 @@ module ListenAndAccept
include IO::Socketable
def listen(backlog)
- backlog = Type.coerce_to backlog, Fixnum, :to_int
+ backlog = Rubinius::Type.coerce_to backlog, Fixnum, :to_int
err = Socket::Foreign.listen descriptor, backlog
View
@@ -219,7 +219,7 @@ module Syslog
def self.log(pri, format, *args)
raise "Syslog must be opened before write" unless @open
- pri = Type.coerce_to(pri, Fixnum, :to_i)
+ pri = Rubinius::Type.coerce_to(pri, Fixnum, :to_i)
message = StringValue(format) % args
Foreign.write(pri, "%s", message)

0 comments on commit ec8802f

Please sign in to comment.