Add Ripple class names to the dispatcher pipeline.
# File lib/awesome_print/ext/ripple.rb, line 16 def cast_with_ripple(object, type) cast = cast_without_ripple(object, type) return cast if !defined?(::Ripple) if object.is_a?(::Ripple::AttributeMethods) # Module used to access attributes across documents and embedded documents cast = :ripple_document_instance elsif object.is_a?(::Ripple::Properties) # Used to access property metadata on Ripple classes cast = :ripple_document_class end cast end
Generated with the Darkfish Rdoc Generator 2.