Sha256: 2a6085f1ba0f2aa09872ac48e9d178a8010f116a81870436d28ff73e8d87e785

Contents?: true

Size: 194 Bytes

Versions: 19

Compression:

Stored size: 194 Bytes

Contents

# _attributes.erb
<% attributes.each do |meth| -%>
  def <%= meth.name %>
    <%= meth.attribute_reader %>
  end


  def <%= meth.name %>=(val)
    <%= meth.attribute_writer %>
  end
<% end -%>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
active_mocker-2.6.2 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.6.1.beta2 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.6.1.beta lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.6.0 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.5.4 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.5.3 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.5.2 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.5.1 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.5.1.pre lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.5.0 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.4.4 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.4.3 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.4.2 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.4.1 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.4.0 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.4.0.pre5 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.4.0.pre4 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.4.0.pre3 lib/active_mocker/mock_template/_attributes.erb
active_mocker-2.4.0.pre2 lib/active_mocker/mock_template/_attributes.erb