Files
main/rules-v0/dragonruby-best-practices-cursorrules-prompt-file/dragonruby-syntax-and-formatting.mdc
2025-02-27 00:04:07 +05:30

7 lines
332 B
Plaintext

---
description: Dictates syntax and formatting guidelines for Ruby code within DragonRuby projects, adhering to the Ruby Style Guide.
globs: **/*.rb
---
- Follow the Ruby Style Guide (https://rubystyle.guide/)
- Use Ruby's expressive syntax (e.g., unless, ||=, &.)
- Prefer single quotes for strings unless interpolation is needed.