mirror of
https://gitea.invidious.io/iv-org/shard-athena-negotiation.git
synced 2024-08-15 00:53:23 +00:00
Ensure each component has an accurate VERSION
constant (#166)
This commit is contained in:
parent
5824495ba7
commit
24d5ab0287
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ alias ANG = Athena::Negotiation
|
||||||
#
|
#
|
||||||
# The `ANG::LanguageNegotiator` type returns an `ANG::AcceptLanguage`, or `nil` if negotiating the best language has failed.
|
# The `ANG::LanguageNegotiator` type returns an `ANG::AcceptLanguage`, or `nil` if negotiating the best language has failed.
|
||||||
module Athena::Negotiation
|
module Athena::Negotiation
|
||||||
|
VERSION = "0.1.1"
|
||||||
|
|
||||||
# Returns a lazily initialized `ANG::Negotiator` singleton instance.
|
# Returns a lazily initialized `ANG::Negotiator` singleton instance.
|
||||||
class_getter(negotiator) { ANG::Negotiator.new }
|
class_getter(negotiator) { ANG::Negotiator.new }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue