Sha256: bf9b25af36abab187cac83e785b9b3b236f6e3505b58e8dac9e9f1364af1c9f7
Contents?: true
Size: 502 Bytes
Versions: 18
Compression:
Stored size: 502 Bytes
Contents
package Moose::Meta::Method::Accessor::Native::Counter::Writer; our $VERSION = '2.2203'; use strict; use warnings; use Moose::Role; with 'Moose::Meta::Method::Accessor::Native::Writer'; sub _constraint_must_be_checked { my $self = shift; my $attr = $self->associated_attribute; return $attr->has_type_constraint && ($attr->type_constraint->name =~ /^(?:Num|Int)$/ || ($attr->should_coerce && $attr->type_constraint->has_coercion) ); } no Moose::Role; 1;
Version data entries
18 entries across 9 versions & 1 rubygems