Class: String

Inherits:
Object show all
Defined in:
lib/perl/ext/string.rb

Instance Method Summary collapse

Instance Method Details

#to_perlObject

Returns a pointer suitable for passing to Perl.



7
8
9
# File 'lib/perl/ext/string.rb', line 7

def to_perl
  Perl::Value::Scalar.to_perl(self)
end