Sha256: af197cd46273282294e7aa533f18e10dfe788c5cfd097a17abe504af5d119f8d

Contents?: true

Size: 564 Bytes

Versions: 2

Compression:

Stored size: 564 Bytes

Contents

<%= fake_class_signature %> {

<% functions.each do |f| -%>
    <%= f.signature %> {
        <%= f.call_count %> += 1
        <% if f.has_args? %><%= f.args_store_append %><% end %>
        <% if f.returns? %><%= f.return_value_declaration %><% end %>
    }

<% end %>

    // MARK: - Fake Helpers

<% functions.each do |f| -%>
    <%= f.call_count_declaration %>
<% end %>

<% functions_with_args.each do |f| -%>
    <%= f.args_store_declaration %>
<% end %>

<% functions_with_return_value.each do |f| -%>
    <%= f.return_value_store_declaration %>
<% end %>
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swiftfake-0.2.1 lib/template.erb
swiftfake-0.2.0 lib/template.erb