The Pod modules name-spaces all the classes of CocoaPods.
_eval_podspec
_eval_podspec(string, path) #=> Object
String
string
The string containing the Ruby description of the Object to evaluate.
Pathname
path
The path where the object to evaluate is stored.
Object
It can return any object but, is expected to be called on
podspec
files that should return a #{Specification}.
606 def self._eval_podspec(string, path)
607 begin
608 eval(string, nil, path.to_s)
609 rescue Exception => e
610 raise DSLError.new("Invalid `#{path.basename}` file: #{e.message}",
611 path, e.backtrace)
612 end
613 end