method

to_s

ruby latest stable - Class: Bundler::Dsl::DSLError

Method not available on this version

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

to_s()
public

The message of the exception reports the content of podspec for the line that generated the original exception.

@example Output

Invalid podspec at `RestKit.podspec` - undefined method
`exclude_header_search_paths=' for #<Pod::Specification for
`RestKit/Network (0.9.3)`>

    from spec-repos/master/RestKit/0.9.3/RestKit.podspec:36
    -------------------------------------------
        # because it would break: #import <CoreData/CoreData.h>
 >      ns.exclude_header_search_paths = 'Code/RestKit.h'
      end
    -------------------------------------------

@return [String] the message of the exception.