Module: ObjectsFramework::TemplateEngine

Included in:
Object
Defined in:
lib/objectsframework/templates.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#template_directoryObject

Returns the value of attribute template_directory.



5
6
7
# File 'lib/objectsframework/templates.rb', line 5

def template_directory
  @template_directory
end

#template_layoutObject

Returns the value of attribute template_layout.



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

def template_layout
  @template_layout
end

Instance Method Details

#set_template_directory(dir) ⇒ Object



13
14
15
16
17
# File 'lib/objectsframework/templates.rb', line 13

def set_template_directory(dir)
	define_method "read_template_directory" do
		return dir
	end
end

#set_template_layout(layout) ⇒ Object



7
8
9
10
11
# File 'lib/objectsframework/templates.rb', line 7

def set_template_layout(layout)
	define_method "read_template_layout" do
		return layout
	end
end