Commit | Line | Data |
60e1cc39 |
1 | package System::Introspector::Gatherer; |
2 | use Moo; |
3 | use Module::Runtime qw( use_module ); |
4 | |
5 | sub gather { |
6 | my ($self, $class, $args) = @_; |
7 | return use_module("System::Introspector::$class") |
8 | ->new($args) |
9 | ->gather; |
10 | } |
11 | |
12 | 1; |