Sha256: 96f02a3eb7dc573ae47682944419fe24d2aa1c32d585c8c67c535f927fddd1b1

Contents?: true

Size: 311 Bytes

Versions: 13

Compression:

Stored size: 311 Bytes

Contents

require '<%= @plugin_name %>/version'

<%- @plugin_class_name.split(/::/).each_with_index do |c,i| -%>
<%= '  '*i %>module <%= c %>
<%- end -%>
<%= '  '*@plugin_class_name.split(/::/).size %># Your code goes here...
<%- (@plugin_class_name.split(/::/).size-1).downto(0) do |i| -%>
<%= '  '*i %>end
<%- end -%>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
middleman-presentation-core-0.17.7 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.17.6 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.17.5 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.17.2 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.17.1 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.17.0 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.16.3 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.16.2 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.16.0 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.16.0.rc2 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.16.0.rc1 templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.16.0.beta templates/plugin/lib/%plugin_name%.rb.tt
middleman-presentation-core-0.16.0.alpha templates/plugin/lib/%plugin_name%.rb.tt