Sha256: f324172be5415111236bf9ad1327c35fdeec18015c0b2a1afe0da8b77958bab2

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

# Encoding: utf-8

<%
spacing = ''
@class_parts[0..-2].each do |namespace|
%><%= spacing + 'module ' + namespace %>
<%
spacing+= '  '
end %><%= spacing + 'class ' + @class_parts.last %>
<%= spacing + 'end' %><% loop do
    l = spacing.length - 2
    spacing = l >= 0 ? ' '*l : ''
%>
<%= spacing + 'end' %><%
break if l == 0
end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blam-1.3.0 lib/templates/source.tt