module AppleManifestRails

Constants

VERSION

Public Class Methods

configure() { |self| ... } click to toggle source
# File lib/apple_manifest_rails.rb, line 10
def self.configure
  yield self
end
ipa_path() click to toggle source
# File lib/apple_manifest_rails.rb, line 34
def self.ipa_path
  @ipa_path ||= template_dir.join('builds', 'app.ipa')
end
ipa_path=(str) click to toggle source
# File lib/apple_manifest_rails.rb, line 38
def self.ipa_path= str
  @ipa_path = str
end
page_title() click to toggle source
# File lib/apple_manifest_rails.rb, line 14
def self.page_title
  @page_title ||= "AppleManifestRails v#{VERSION}"
end
page_title=(str) click to toggle source
# File lib/apple_manifest_rails.rb, line 18
def self.page_title=(str)
  @page_title = str
end
template(name) click to toggle source
# File lib/apple_manifest_rails.rb, line 30
def self.template name
  template_dir.join name
end
template_dir() click to toggle source
# File lib/apple_manifest_rails.rb, line 22
def self.template_dir
  @template_dir ||= TemplateDir.new(Rails.root.join('apple_manifest_templates'))
end
template_dir=(path) click to toggle source
# File lib/apple_manifest_rails.rb, line 26
def self.template_dir=(path)
  @template_dir ||= TemplateDir.new(path.to_s)
end