class Theobroma::Parser
Public Class Methods
new(file)
click to toggle source
# File lib/theobroma/parser.rb, line 3 def initialize(file) require 'yaml' @yaml = YAML.load(File.read(file)) rescue Errno::ENOENT @yaml = { 'COCOAPODS' => '1.0.1' } end
Public Instance Methods
pods_version()
click to toggle source
# File lib/theobroma/parser.rb, line 12 def pods_version @yaml['COCOAPODS'] end