<%= render(Yattho::Beta::AutoComplete::Item.new(selected: true, value: "value")) do %> Selected <% end %> <%= render(Yattho::Beta::AutoComplete::Item.new(value: "value")) do %> Not selected <% end %>