lib/debug_extras/helpers/view_helpers.rb in debug-extras-0.2.0 vs lib/debug_extras/helpers/view_helpers.rb in debug-extras-0.3.0

- old
+ new

@@ -1,11 +1,13 @@ +require "active_support/concern" + module DebugExtras module Helpers module ViewHelpers extend ActiveSupport::Concern - def rap(object) - raw ap(object, DebugExtras::Settings.ap_options) + def dump(object, settings = {}) + Dumper.new(object, settings).render end end end end