| 1 | package Gideon::Meta::Attribute::Trait::Inflate::DateTime; | ||
| 2 | { | ||
| 3 | $Gideon::Meta::Attribute::Trait::Inflate::DateTime::VERSION = '0.0.3'; | ||
| 4 | } | ||
| 5 | use Moose::Role; | ||
| 6 | |||
| 7 | with 'Gideon::Meta::Attribute::Trait::Inflated'; | ||
| 8 | |||
| 9 | Moose::Util::meta_attribute_alias('Gideon::Inflate::DBI::DateTime'); | ||
| 10 | |||
| 11 | |||
| 12 | sub get_inflator { | ||
| 13 | my ( $self, $source ) = @_; | ||
| 14 | $self->inflator; | ||
| 15 | } | ||
| 16 | |||
| 17 | sub get_deflator { | ||
| 18 | my ( $self, $source ) = @_; | ||
| 19 | $self->deflator; | ||
| 20 | } | ||
| 21 | |||
| 22 | 1; | ||
| 23 | |||
| 24 | __END__ |