Public instance methods
get_content_object
(filename)
Get the ContentObject pointing to the given filename. Raises ENOENT if not mapped.
[show source]
# File lib/nwn/key.rb, line 130 def get_content_object filename filename = filename.downcase ret, bif = @fn_to_co[filename] raise Errno::ENOENT, "No ContentObject with the given filename #{filename.inspect} found." unless ret ret end