From 38737079b6c1096c2517e249198b8bc0bedf4156 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sat, 9 Feb 2013 15:26:47 +0200 Subject: ignore docs by git --- doc/code/classes/BaseContext.html | 261 -------------------------------------- 1 file changed, 261 deletions(-) delete mode 100644 doc/code/classes/BaseContext.html (limited to 'doc/code/classes/BaseContext.html') diff --git a/doc/code/classes/BaseContext.html b/doc/code/classes/BaseContext.html deleted file mode 100644 index 3fbc76bf7e0..00000000000 --- a/doc/code/classes/BaseContext.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - BaseContext - - - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - -
Methods
-
- -
A
-
- -
- -
C
-
-
    - - -
  • - can? -
  • - -
-
- -
N
-
-
    - - -
  • - new -
  • - -
-
- -
- - - - - - - - - - - - - - - - - -
Attributes
- - - - - - - - - - - - - - - - - - - - -
- [RW] - current_user
- [RW] - params
- [RW] - project
- - - - - -
Class Public methods
- -
-
- - new(project, user, params) - - -
- - -
- -
- - - - - - -
- - -
-
# File app/contexts/base_context.rb, line 4
-def initialize(project, user, params)
-  @project, @current_user, @params = project, user, params.dup
-end
-
-
- -
- -
Instance Public methods
- -
-
- - abilities() - - -
- - -
- -
- - - - - - -
- - -
-
# File app/contexts/base_context.rb, line 8
-def abilities
-  @abilities ||= begin
-                   abilities = Six.new
-                   abilities << Ability
-                   abilities
-                 end
-end
-
-
- -
- -
-
- - can?(object, action, subject) - - -
- - -
- -
- - - - - - -
- - -
-
# File app/contexts/base_context.rb, line 16
-def can?(object, action, subject)
-  abilities.allowed?(object, action, subject)
-end
-
-
- -
-
- -
- - \ No newline at end of file -- cgit v1.2.1