mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Correct doc example
This commit is contained in:
parent
ca5e894e0b
commit
2ddf26b8c3
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ module Ameba
|
||||||
# Creates Severity by the name.
|
# Creates Severity by the name.
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# Severity.parse('refactoring') # => Severity::Refactoring
|
# Severity.parse("refactoring") # => Severity::Refactoring
|
||||||
# Severity.parse('foo-bar') # => Exception: Incorrect severity name
|
# Severity.parse("foo-bar") # => Exception: Incorrect severity name
|
||||||
# ```
|
# ```
|
||||||
#
|
#
|
||||||
def self.parse(name : String)
|
def self.parse(name : String)
|
||||||
|
|
Loading…
Reference in a new issue