File: HeaderFooter.rb

package info (click to toggle)
amrita 1.0.2-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 1,880 kB
  • ctags: 1,363
  • sloc: ruby: 9,159; xml: 978; makefile: 111
file content (15 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# HeaderFooter.rb
#

class HeaderFooter < CKComponent
	attr_accessor :title, :source
	
	def sourcePage
		sp = page "SourcePage"
		sp.source = fetch 'class'
		sp
	end
end