Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 796 Bytes

File metadata and controls

19 lines (15 loc) · 796 Bytes

Ruby Primer Agent Instructions

Build, Lint, and Test

  • Testing: This project uses RSpec.
    • Run all tests: bundle exec rspec
    • Run a single test file: bundle exec rspec examples_spec/0.0.2.rb
  • Linting: There is no linting configuration. Please adhere to the style of existing code.

Code Style

  • Formatting: Use 2-space indentation.
  • Naming: Use snake_case for variables and methods.
  • Strings: Use double quotes for strings, especially with interpolation. Use single quotes for require statements.
  • Methods: Use parentheses for method definitions with arguments.
  • Error Handling: Not specified.
  • Imports: Use require.
  • Types: Not specified.
  • General: Follow existing patterns in the code. Explicit return is preferred.