Sha256: 23aad422d25f259aa8e347438705f502cba19cafd8846f485beffdb91481f2bf

Contents?: true

Size: 378 Bytes

Versions: 7

Compression:

Stored size: 378 Bytes

Contents

<% instance_methods.each do |method| -%>
  def <%= method.name %><%= "(#{method.arguments})" unless method.arguments.blank? %>
    <%= method.body %>
  end
<% end -%>
module ClassMethods
<% class_methods.each do |method| -%>
    def <%= method.name %><%= "(#{method.arguments})" unless method.arguments.blank? %>
    <%= method.body %>
  end
<% end -%>
end

extend ClassMethods

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_mocker-2.6.2 lib/active_mocker/mock_template/_defined_methods.erb
active_mocker-2.6.1.beta2 lib/active_mocker/mock_template/_defined_methods.erb
active_mocker-2.6.1.beta lib/active_mocker/mock_template/_defined_methods.erb
active_mocker-2.6.0 lib/active_mocker/mock_template/_defined_methods.erb
active_mocker-2.5.4 lib/active_mocker/mock_template/_defined_methods.erb
active_mocker-2.5.3 lib/active_mocker/mock_template/_defined_methods.erb
active_mocker-2.5.2 lib/active_mocker/mock_template/_defined_methods.erb