Sha256: c7f31ad5dae306df2e2ae4b5dc30e0d16dfe46a154e3641fd8a4a08533793eff

Contents?: true

Size: 164 Bytes

Versions: 4

Compression:

Stored size: 164 Bytes

Contents

require 'perl/value/scalar'

class String
  #
  # Returns a pointer suitable for passing to Perl.
  #
  def to_perl
    Perl::Value::Scalar.to_perl(self)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-perl-04.01.2011.2 lib/perl/ext/string.rb
ruby-perl-04.01.2011.1 lib/perl/ext/string.rb
ruby-perl-04.01.2011 lib/perl/ext/string.rb
ruby-perl-0.99.15j lib/perl/ext/string.rb