Sha256: ac4fe6c049b1e3bbd1402a7a26c5ecadece53acbce8e9ceb7c9f691bf30869bf

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

# _modules_constants.erb
<% constants.each do |constant| -%>
  <%= constant.first %> = <%= constant.last.inspect %>
<% end -%>
<% defined_nested_modules.each do |m| -%>
  <%= m %>
<% end -%>
<% modules[:included].each do |constant| -%>
  prepend <%= constant %>
<% end -%>
<% modules[:extended].each do |constant| -%>
  extend <%= constant %>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_mocker-2.6.1.beta2 lib/active_mocker/mock_template/_modules_constants.erb
active_mocker-2.6.1.beta lib/active_mocker/mock_template/_modules_constants.erb