Module: Mojito::Helpers::Shortcuts

Defined in:
lib/mojito/helpers/shortcuts.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#capturesObject



7
8
9
# File 'lib/mojito/helpers/shortcuts.rb', line 7

def captures
	request.captures
end

#localsObject



11
12
13
# File 'lib/mojito/helpers/shortcuts.rb', line 11

def locals
	request.locals
end

#path_infoObject



19
20
21
# File 'lib/mojito/helpers/shortcuts.rb', line 19

def path_info
	request.path_info
end

#script_nameObject



15
16
17
# File 'lib/mojito/helpers/shortcuts.rb', line 15

def script_name
	request.script_name
end

#sessionObject



23
24
25
# File 'lib/mojito/helpers/shortcuts.rb', line 23

def session
	request.session
end