Sprinkle frozen string literal & Indentation Fix (#150)
* Avoid extra string alocation as join will always return string * Fix indentation * Sprinkle frozen string literal true
This commit is contained in:
parent
59e9fbd336
commit
a1452d7d89
18 changed files with 63 additions and 36 deletions
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module CustomExceptions::Account
|
||||
|
||||
class InvalidEmail < CustomExceptions::Base
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class CustomExceptions::Base < ::StandardError
|
||||
|
||||
def to_hash
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module CustomExceptions::Report
|
||||
class InvalidIdentity < CustomExceptions::Base
|
||||
def message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue