Sha256: 3ebd61eae8f1d721a61fd4720d209326362189a4ed90bb6ef9d774370e4f079e

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

<% if file %>
<%= file.lines.to_a[lines].join("\n") %><%=
  " " * [@location.column.begin - 1, 0].max %>^<%=
  (("-" * (distance - 2) + "^") if distance > 2) %>

<% end %><%= Metanostic::Mode.to_rainbow(mode) %>: <%=
  Rainbow(metanostic.name).color(:cyan).bright %>: <%=
  Rainbow(location).color(:white).bright %>: <%= message %>
<% if Carbon.verbose > 1 %><% @stack.each do |frame| %>

	<%= frame %><% end %><% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carbon-compiler-0.2.0 lib/carbon/compiler/metanostic/template.erb