Sha256: bdd974499ac7d4fb6f58326ccae53327e73a29df784234b194868f9543fda363

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 Bytes

Contents

class UIC::Behavior
	include UIC::FileBacked
	def initialize( lua_path )
		self.file = lua_path
	end
	alias_method :lua, :file_content
end

class UIC::Application::Behavior < UIC::Behavior
	include UIC::ElementBacked
	# @!parse extend UIC::ElementBacked::ClassMethods
	xmlattribute :id
	xmlattribute :src
	def initialize(application,el)
		self.owner = application
		self.el    = el
		super( application.absolute_path(src) )
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
RUIC-0.6.1 lib/ruic/behaviors.rb
RUIC-0.6.0 lib/ruic/behaviors.rb