0.0
The project is in a healthy, maintained state
Captures Ruby method chains into a buffer and serializes them to strings. Useful for building DSLs, query builders, and command builders.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 5.0
~> 13.0
 Project Readme

string_builder

Ruby method chains to any string format. 113 lines. Zero dependencies.

Usage

Please see the project documentation for more details.

  • Getting Started - This guide walks you through installing string_builder and building your first DSL.

  • CLI Builders - This guide covers building command-line tool DSLs (git, docker, terraform, aws).

  • Query Builders - This guide covers building query and data-access DSLs (SQL, JSONPath, .env files).

  • Web Builders - This guide covers building web-related DSLs (HTML, CSS selectors, URLs, Makefile targets).

  • Multi-Render - This guide covers rendering the same method chain in different formats by swapping handlers.

Built with StringBuilder

  • kube_ctl -- kubectl and helm as Ruby DSLs

License

Apache-2.0