Method: Xcodeproj::XCScheme::CommandLineArgument#to_h

Defined in:
lib/xcodeproj/scheme/command_line_arguments.rb

#to_hHash{:key => String, :value => String, :enabled => Bool}

Returns The command line argument XML node with attributes converted to a representative Hash.

Returns:

  • (Hash{:key => String, :value => String, :enabled => Bool})

    The command line argument XML node with attributes converted to a representative Hash



157
158
159
# File 'lib/xcodeproj/scheme/command_line_arguments.rb', line 157

def to_h
  { :argument => argument, :enabled => enabled }
end