File: StringPage.rb

package info (click to toggle)
amrita 1.0.2-8
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,884 kB
  • ctags: 1,362
  • sloc: ruby: 9,159; xml: 978; makefile: 110
file content (14 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/local/bin/ruby

class StringPage < CKComponent
	attr_accessor :variable
	
	def initialize(app,parent,name,body)
		super
		@variable = 'I am variable of StringPage.'
	end
	
	def method
		'I am method of StringPage.'
	end
end