Class: Confetti::Template::BlackberryWidgetsConfig

Inherits:
Base
  • Object
show all
Defined in:
lib/confetti/templates/blackberry_widgets_config.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Confetti::Template::Base

Instance Method Details

#author_emailObject



20
21
22
# File 'lib/confetti/templates/blackberry_widgets_config.rb', line 20

def author_email
  @config.author.email
end

#author_hrefObject



16
17
18
# File 'lib/confetti/templates/blackberry_widgets_config.rb', line 16

def author_href
  @config.author.href
end

#author_nameObject



24
25
26
# File 'lib/confetti/templates/blackberry_widgets_config.rb', line 24

def author_name
  @config.author.name
end

#output_filenameObject



32
33
34
# File 'lib/confetti/templates/blackberry_widgets_config.rb', line 32

def output_filename
  "bb-config.xml"
end

#widget_descriptionObject



28
29
30
# File 'lib/confetti/templates/blackberry_widgets_config.rb', line 28

def widget_description
  @config.description
end

#widget_idObject



8
9
10
# File 'lib/confetti/templates/blackberry_widgets_config.rb', line 8

def widget_id
  @config.package
end

#widget_nameObject



12
13
14
# File 'lib/confetti/templates/blackberry_widgets_config.rb', line 12

def widget_name
  @config.name.name
end

#widget_versionObject



4
5
6
# File 'lib/confetti/templates/blackberry_widgets_config.rb', line 4

def widget_version
  @config.version
end