lib/opds/support/linkset.rb
# Find first link text corresponding to the query
# @example Query : 
#    {:rel => "related" }
Find first link text corresponding to the query
Find first link text corresponding to the query
def link_text(k)
				ty,v=k.first
				t=remap(collection(ty)[v])
				t.first[2] unless t.nil?
			end
def link_text ( k ) ty , v = k . first t = remap ( collection ( ty ) [ v ] ) t . first [ 2 ] unless t . nil? end
Find first link text corresponding to the query
Find first link text corresponding to the query
k
<not_specific>
example
Query : {:rel => "related" }
Query : { : rel = > " related " }