Method: CouchShell::CorePlugin#lookup_prefix_r

Defined in:
lib/couch-shell-plugin/core.rb

#lookup_prefix_r(name) ⇒ Object

Raises:



52
53
54
55
56
# File 'lib/couch-shell-plugin/core.rb', line 52

def lookup_prefix_r(name)
  i = name.to_i
  raise VarNotSet unless shell.responses.readable_index?(i)
  shell.responses[i]
end