Changeset 22823


Ignore:
Timestamp:
09/09/10 10:35:58 (17 months ago)
Author:
alex
Message:

Added coercions demanded by the latest version of Moose

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mnw21/pathquery_refactor/intermine/perl/lib/InterMine/TypeLibrary.pm

    r22677 r22823  
    207207    coerce Service, 
    208208    from Str, 
    209         via {InterMine::Service->new(root => $_)}; 
    210  
     209        via {require InterMine::Service; 
     210         InterMine::Service->new(root => $_)}; 
     211    coerce ListFactory, 
     212    from Str, 
     213        via {require InterMine::ListFactory; 
     214         InterMine::ListFactory->new(string => $_)}; 
     215    coerce SavedQueryFactory, 
     216    from Str, 
     217        via {require InterMine::SavedQueryFactory; 
     218         InterMine::SavedQueryFactory->new(string => $_)}; 
    211219} 
    212220__PACKAGE__->meta->make_immutable; 
Note: See TracChangeset for help on using the changeset viewer.