Module: CommandKit::BugReport::ClassMethods
- Defined in:
- lib/command_kit/bug_report.rb
Overview
Defines class-level methods.
Instance Method Summary collapse
-
#bug_report_url(new_url = nil) ⇒ String?
Gets or sets the bug report URL.
Instance Method Details
#bug_report_url(new_url = nil) ⇒ String?
Gets or sets the bug report URL.
57 58 59 60 61 62 63 64 65 |
# File 'lib/command_kit/bug_report.rb', line 57 def bug_report_url(new_url=nil) if new_url @bug_report_url = new_url else @bug_report_url || if superclass.kind_of?(ClassMethods) superclass.bug_report_url end end end |