Implement #described_class

This commit is contained in:
Michael Miller 2018-09-04 16:59:59 -06:00
parent 7ff91b4fc6
commit f7eeb2b2a3
2 changed files with 7 additions and 1 deletions

View file

@ -17,6 +17,12 @@ module Spectator
module Locals
include {{parent_locals_module.id}}::Locals
{% if what.is_a?(Path) %}
def described_class
{{what}}
end
{% end %}
end
{{block.body}}