Sha256: 59b6933e08a5e271650e1029993defcb8d9d0fe1baa6513ca07de60318033055

Contents?: true

Size: 161 Bytes

Versions: 14

Compression:

Stored size: 161 Bytes

Contents

module UsersHelper
  def render_users_list(users)
    content_tag :ul do
      users.map { |user| content_tag :li, user.email }.join.html_safe
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
minitest-spec-rails-7.4.1 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-7.4.0 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-7.3.0 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-7.2.0 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-7.1.0 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-7.0.0 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-6.2.0 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-6.1.0 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-6.0.4 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-6.0.3 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-6.0.2 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-6.0.1 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-6.0.0 test/dummy_app/app/helpers/users_helper.rb
minitest-spec-rails-5.5.0 test/dummy_app/app/helpers/users_helper.rb