Skip to content

Commit

Permalink
Adding default load method
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanwills-optus committed Jan 19, 2016
1 parent d26b425 commit efd2b18
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Data/Context/Loader.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ use English qw/ -no_match_vars /;

our $VERSION = version->new('0.1.10');

has raw => (
is => 'rw',
);

sub load {
my ($self) = @_;

return $self->raw;
}

__PACKAGE__->meta->make_immutable;

Expand Down

0 comments on commit efd2b18

Please sign in to comment.