ri > ActiveSupport::Testing::FileFixtures

= ActiveSupport::Testing::FileFixtures

------------------------------------------------------------------------
= Extended by:
ActiveSupport::Concern (from /home/chedong/.local/share/rdoc)

(from /home/chedong/.local/share/rdoc)
------------------------------------------------------------------------
Adds simple access to sample files called file fixtures. File fixtures
are normal files stored in ActiveSupport::TestCase.file_fixture_path.

File fixtures are represented as Pathname objects. This makes it easy to
extract specific information:

  file_fixture("example.txt").read # get the file's content
  file_fixture("example.mp3").size # get the file size
------------------------------------------------------------------------
= Instance methods:

  file_fixture

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 15:46 @216.73.217.111
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!