method

to_hash

rails latest stable - Class: ActionView::RenderParser::RipperRenderParser::Node

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

to_hash()
public

No documentation available.

# File actionview/lib/action_view/render_parser/ripper_render_parser.rb, line 76
        def to_hash
          if type == :bare_assoc_hash
            hash_from_body(self[0])
          elsif type == :hash && self[0] == nil
            {}
          elsif type == :hash && self[0].type == :assoclist_from_args
            hash_from_body(self[0][0])
          end
        end