Module: UIC

Defined in:
lib/ruic.rb

Defined Under Namespace

Modules: ElementBacked, FileBacked, PresentableHash Classes: Application, Asset, Behavior, Presentation, Property, SlideCollection, SlideValues, StateMachine, ValuesPerSlide

Class Method Summary collapse

Class Method Details

.Application(metadata, uia_path) ⇒ Object Also known as: App



124
125
126
# File 'lib/ruic/application.rb', line 124

def Application(,uia_path)
	UIC::Application.new( , uia_path )
end

.Meta(metadata_path) ⇒ Object



198
199
200
# File 'lib/ruic/assets.rb', line 198

def UIC.Meta()
	UIC::Asset.new(File.read(,encoding:'utf-8'))
end

.Presentation(uip_path) ⇒ Object



331
332
333
# File 'lib/ruic/presentation.rb', line 331

def UIC.Presentation( uip_path )
	UIC::Presentation.new( uip_path )
end

.StateMachine(scxml_path) ⇒ Object



16
17
18
19
# File 'lib/ruic/statemachine.rb', line 16

def UIC.StateMachine( scxml_path )
	UIC::StateMachine.new(File.read(scxml_path,encoding:'utf-8'))
		.tap{ |o| o.file = scxml_path }
end