Skip to content

Commit

Permalink
Merge pull request #125 from samvera-labs/consistency
Browse files Browse the repository at this point in the history
Fix YARD doc to be consistent with the code.
  • Loading branch information
Trey Pendragon committed Jul 12, 2017
2 parents abbf08a + f298d3a commit 633a8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions valkyrie/lib/valkyrie/adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ class Adapter
self.adapters = {}
class << self
# Register an adapter by a short name.
# @param adapter [Valkyrie::Adapter] Adapter to register.
# @param adapter [#persister,#query_service] Adapter to register.
# @param short_name [Symbol] Name to register it under.
def register(adapter, short_name)
adapters[short_name.to_sym] = adapter
end

# Find an adapter by its short name.
# @param short_name [Symbol]
# @return [Valkyrie::Adapter]
# @return [#persister,#query_service]
def find(short_name)
adapters[short_name.to_sym]
end
Expand Down

0 comments on commit 633a8a9

Please sign in to comment.