Skip to content

Instantly share code, notes, and snippets.

@andytinycat
Created January 9, 2013 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andytinycat/4493020 to your computer and use it in GitHub Desktop.
Save andytinycat/4493020 to your computer and use it in GitHub Desktop.
catalog.resource_keys.collect {|type,name|
if type == "File"
resource = catalog.resource(type,name)
puts "#{resource.title} file: #{resource.file} line: #{resource.line}"
end
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment