General

Profile

joelhawksley (Joel Hawksley)

  • Login: joelhawksley
  • Email: joel@hawksley.org
  • Registered on: 02/22/2023
  • Last sign in: 02/22/2023

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

03/29/2023

02:20 AM Ruby Feature #19458: Expose HEREDOC identifier
zverok (Victor Shepelev) wrote in #note-6:
> My thinking (the proposal I considered submitting but didn't fully form yet) was rather that HEREdocs might create some subclass, like `TaggedString` or something (which might also be able to...
joelhawksley (Joel Hawksley)

02/22/2023

09:07 PM Ruby Feature #19458 (Open): Expose HEREDOC identifier
I’d like to have access to the HEREDOC identifier.
In the ViewComponent framework I help maintain, we added a method to declare a template as such:
```ruby
class Component
erb_template <<~ERB
<h1>Hello, <%= @name %>!</h1>
...
joelhawksley (Joel Hawksley)

Also available in: Atom