lib/lookbook/preview_example.rb in lookbook-1.0.0.beta.2 vs lib/lookbook/preview_example.rb in lookbook-1.0.0.beta.3
- old
+ new
@@ -28,10 +28,10 @@
def method_source
@example_inspector.source.split("\n")[1..-2].join("\n").strip_heredoc
end
- def source_lang
+ def lang
Lookbook::Lang.find(:ruby)
end
def template_source(template_path)
File.read(full_template_path(template_path))