Open
Description
ERB Input:
<% if some_condition? %>
<%= "Text" %>
<% end %>
Output:
class Component < Phlex::HTML
def template
if some_condition?
text "Text"
end
end
end
Expected output:
class Component < Phlex::HTML
def template
if some_condition?
text "Text"
end
end
private
# TODO: Implement the `some_condition?` method
def some_condition?
super
end
end