Skip to content

Instantly share code, notes, and snippets.

@maxim
Created September 4, 2009 02:00
Show Gist options
  • Save maxim/180687 to your computer and use it in GitHub Desktop.
Save maxim/180687 to your computer and use it in GitHub Desktop.
def sample_file(name = "most_used_file.png")
File.new("test/fixtures/files/#{name}")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment