Sha256: 24a23bfa6aafc970d73588f1266788abc726c06f39ea3e20611cf9edf858e351

Contents?: true

Size: 252 Bytes

Versions: 4

Compression:

Stored size: 252 Bytes

Contents

module PerlValueHelpers
  def self.included(klass)
    require 'perl/value'

    Perl::Value::Hash.class_eval do
      attr_reader :perl, :hash, :hv
    end

    Perl::Value::Scalar.class_eval do
      attr_reader :perl, :scalar, :sv
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-perl-04.01.2011.2 spec/support/perl_value_helpers.rb
ruby-perl-04.01.2011.1 spec/support/perl_value_helpers.rb
ruby-perl-04.01.2011 spec/support/perl_value_helpers.rb
ruby-perl-0.99.15j spec/support/perl_value_helpers.rb