Class: Xcodeproj::XCScheme::AnalyzeAction

Inherits:
AbstractSchemeAction show all
Defined in:
lib/xcodeproj/scheme/analyze_action.rb

Overview

This class wraps the AnalyzeAction node of a .xcscheme XML file

Instance Attribute Summary

Attributes inherited from XMLElementWrapper

#xml_element

Instance Method Summary collapse

Methods inherited from AbstractSchemeAction

#add_post_action, #add_pre_action, #build_configuration, #build_configuration=, #post_actions, #post_actions=, #pre_actions, #pre_actions=

Methods inherited from XMLElementWrapper

#to_s

Constructor Details

#initialize(node = nil) ⇒ AnalyzeAction

Returns a new instance of AnalyzeAction.

Parameters:

  • node (REXML::Element) (defaults to: nil)

    The ‘AnalyzeAction’ XML node that this object will wrap. If nil, will create a default XML node to use.



12
13
14
15
16
# File 'lib/xcodeproj/scheme/analyze_action.rb', line 12

def initialize(node = nil)
  create_xml_element_with_fallback(node, 'AnalyzeAction') do
    self.build_configuration = 'Debug'
  end
end