Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
avoid single line methods
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed May 13, 2014
1 parent d462eae commit 75a9d8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion active_event/lib/active_event/domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ class DomainExceptionCapture < StandardError

class DomainException < StandardError
# prevent better errors from tracing this exception
def __better_errors_bindings_stack; [] end
def __better_errors_bindings_stack;
[]
end
end

module Domain
Expand Down
4 changes: 3 additions & 1 deletion active_event/lib/active_event/event_source_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
module ActiveEvent
class ProjectionException < StandardError
# prevent better errors from tracing this exception
def __better_errors_bindings_stack; [] end
def __better_errors_bindings_stack;
[]
end
end

class EventSourceServer
Expand Down

0 comments on commit 75a9d8d

Please sign in to comment.