Sha256: 9a5c989519b4ec849c60d7986120d33c8f2b2b681852dc68ecc396e975173724

Contents?: true

Size: 565 Bytes

Versions: 61

Compression:

Stored size: 565 Bytes

Contents

<% if show_attributes -%>
[attributes]
<% attrs = inspect_model.attributes -%>
<% max = attrs.keys.max { |a,b| a.length <=> b.length } -%>
<% attrs.keys.sort.each do |attr| -%>
* <%= "%*-s: %s" % [max.length, attr, object_to_yaml(attrs[attr]).gsub(/\n/, "\n  ").strip] %>
<% end -%>
<% end -%>

<% if show_instance_variables -%>
[instance variables]
<% inspect_model.instance_variables.sort.each do |variable| -%>
<%- next if variable == "@attributes" -%>
* <%= variable %>: <%= inspect_value(inspect_model.instance_variable_get(variable)) %>
<% end -%>
<% end -%>

Version data entries

61 entries across 61 versions & 14 rubygems

Version Path
jcnetdev-exception_notification-1.0.20080705 views/exception_notifier/_inspect_model.rhtml
jcnetdev-exception_notification-1.0.20080706 views/exception_notifier/_inspect_model.rhtml
jcnetdev-exception_notification-1.1.20080704 views/exception_notifier/_inspect_model.rhtml
jeremyevans-exception_notification-1.0.20080808 views/exception_notifier/_inspect_model.rhtml
jeremyevans-exception_notification-1.0.20080923 views/exception_notifier/_inspect_model.rhtml
jeremyevans-exception_notification-1.0.20081208 views/exception_notifier/_inspect_model.rhtml
jeremyevans-exception_notification-1.0.20090610 views/exception_notifier/_inspect_model.rhtml
markcatley-exception_notification-1.0.0 views/exception_notifier/_inspect_model.rhtml
markcatley-exception_notification-1.0.20080720 views/exception_notifier/_inspect_model.rhtml
markcatley-exception_notification-1.0.20080802 views/exception_notifier/_inspect_model.rhtml
markcatley-exception_notification-1.0.20080803 views/exception_notifier/_inspect_model.rhtml
markcatley-exception_notification-1.0.20080910 views/exception_notifier/_inspect_model.rhtml
pager-exception_notification-1.0.20080507 views/exception_notifier/_inspect_model.rhtml
pager-exception_notification-1.0.20080508 views/exception_notifier/_inspect_model.rhtml
pboling-super_exception_notifier-1.6.5 views/exception_notifier/_inspect_model.html.erb
pboling-super_exception_notifier-1.6.6 views/exception_notifier/_inspect_model.html.erb
pboling-super_exception_notifier-1.6.7 views/exception_notifier/_inspect_model.html.erb
pboling-super_exception_notifier-1.6.8 views/exception_notifier/_inspect_model.html.erb
pboling-super_exception_notifier-1.7.0 views/exception_notifier/_inspect_model.html.erb
pboling-super_exception_notifier-1.7.1 views/exception_notifier/_inspect_model.html.erb