class XcodeSnippet::Snippet

Attributes

completion_prefix[RW]
completion_scopes[RW]
contents[RW]
identifier[RW]
is_user_snippet[RW]
language[RW]
summary[RW]
title[RW]
version[RW]

Public Instance Methods

to_plist() click to toggle source
# File lib/xcodesnippet/snippet.rb, line 15
def to_plist
  {
    "IDECodeSnippetCompletionPrefix" => @completion_prefix,
    "IDECodeSnippetCompletionScopes" => @completion_scopes,
    "IDECodeSnippetContents" => @contents,
    "IDECodeSnippetIdentifier" => @identifier,
    "IDECodeSnippetLanguage" => @language,
    "IDECodeSnippetSummary" => @summary,
    "IDECodeSnippetTitle" => @title,
    "IDECodeSnippetUserSnippet" => @is_user_snippet,
    "IDECodeSnippetVersion" => @version
  }.to_plist
end