From 96d49bf04ce77c975fe500f4d961e4a1ffed4c26 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 30 Dec 2012 14:43:00 +0200 Subject: Use sdoc to generate application code documentation --- doc/code/classes/IssueCommonality.html | 356 +++++++++++++++++++++++++++++++++ 1 file changed, 356 insertions(+) create mode 100644 doc/code/classes/IssueCommonality.html (limited to 'doc/code/classes/IssueCommonality.html') diff --git a/doc/code/classes/IssueCommonality.html b/doc/code/classes/IssueCommonality.html new file mode 100644 index 00000000000..7398308a176 --- /dev/null +++ b/doc/code/classes/IssueCommonality.html @@ -0,0 +1,356 @@ + + + + + IssueCommonality + + + + + + + + + + + + + +
+
+ +
+ +

Contains common functionality shared between Issues and MergeRequests

+ +
+ + + + + + + + + + + + +
Namespace
+ + + + + + +
Methods
+
+ +
I
+
+ +
+ +
N
+
+
    + + +
  • + new? +
  • + +
+
+ +
T
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + +
Instance Public methods
+ +
+
+ + is_assigned?() + + +
+ + +
+ +
+ + + + + + +
+ + +
+
# File app/roles/issue_commonality.rb, line 51
+def is_assigned?
+  !!assignee_id
+end
+
+
+ +
+ +
+
+ + is_being_closed?() + + +
+ + +
+ +
+ + + + + + +
+ + +
+
# File app/roles/issue_commonality.rb, line 59
+def is_being_closed?
+  closed_changed? && closed
+end
+
+
+ +
+ +
+
+ + is_being_reassigned?() + + +
+ + +
+ +
+ + + + + + +
+ + +
+
# File app/roles/issue_commonality.rb, line 55
+def is_being_reassigned?
+  assignee_id_changed?
+end
+
+
+ +
+ +
+
+ + is_being_reopened?() + + +
+ + +
+ +
+ + + + + + +
+ + +
+
# File app/roles/issue_commonality.rb, line 63
+def is_being_reopened?
+  closed_changed? && !closed
+end
+
+
+ +
+ +
+
+ + new?() + + +
+ + +
+ +
+ + + + + + +
+ + +
+
# File app/roles/issue_commonality.rb, line 47
+def new?
+  today? && created_at == updated_at
+end
+
+
+ +
+ +
+
+ + today?() + + +
+ + +
+ +
+ + + + + + +
+ + +
+
# File app/roles/issue_commonality.rb, line 43
+def today?
+  Date.today == created_at.to_date
+end
+
+
+ +
+
+ +
+ + \ No newline at end of file -- cgit v1.2.1