├── .github └── workflows │ └── main.yml ├── .gitignore ├── Gemfile ├── MIT-LICENSE ├── README.md ├── Rakefile ├── benchmark.rb ├── bin ├── console └── setup ├── hello.erb ├── hello.string ├── lib ├── string_template.rb └── string_template │ ├── handler.rb │ └── railtie.rb ├── string_template.gemspec └── test ├── _partial.html.string ├── main.html.string ├── string_template_test.rb └── test_helper.rb /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/.gitignore -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/Gemfile -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/Rakefile -------------------------------------------------------------------------------- /benchmark.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/benchmark.rb -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/bin/setup -------------------------------------------------------------------------------- /hello.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/hello.erb -------------------------------------------------------------------------------- /hello.string: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/hello.string -------------------------------------------------------------------------------- /lib/string_template.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/lib/string_template.rb -------------------------------------------------------------------------------- /lib/string_template/handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/lib/string_template/handler.rb -------------------------------------------------------------------------------- /lib/string_template/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/lib/string_template/railtie.rb -------------------------------------------------------------------------------- /string_template.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/string_template.gemspec -------------------------------------------------------------------------------- /test/_partial.html.string: -------------------------------------------------------------------------------- 1 | #{ 'world!' } 2 | -------------------------------------------------------------------------------- /test/main.html.string: -------------------------------------------------------------------------------- 1 | hello, #{ render('partial') } 2 | -------------------------------------------------------------------------------- /test/string_template_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/test/string_template_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amatsuda/string_template/HEAD/test/test_helper.rb --------------------------------------------------------------------------------