Sha256: 63ed4f2ede5cad342585e107a8f4c5549d021e6f83d68bf4cdfc643b4ba0aca2

Contents?: true

Size: 684 Bytes

Versions: 8

Compression:

Stored size: 684 Bytes

Contents

#encoding: utf-8
module UsersHelper
  def height_collection
    {
        'h51' => %{5' 1"},
        'h52' => %{5' 2"},
        'h53' => %{5' 3"},
        'h54' => %{5' 4"},
        'h55' => %{5' 5"},
        '5\' 6"' => %{5' 6"}, # Using space and quotes in value is just asking for troubles
        '5\' 7"' => %{5' 7"},
        'h58' => %{5' 8"},
        'h59' => %{5' 9"},
        '5\' 10"' => %{5' 10"},
        'h511' => %{5' 11"},
        'h60' => %{6' 0"},
        'h61' => %{6' 1"},
        'h62' => %{6' 2"},
        'h63' => %{6' 3"},
        'h64' => %{6' 4"},
        'h65' => %{6' 5"},
        'h66' => %{6' 6"}
    }
  end

  def bb(value)
    "#{value} €"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
best_in_place-4.0.0 spec/internal/app/helpers/users_helper.rb
best_in_place-3.1.1 spec/internal/app/helpers/users_helper.rb
best_in_place-3.1.0 spec/internal/app/helpers/users_helper.rb
best_in_place-3.0.3 spec/internal/app/helpers/users_helper.rb
best_in_place-3.0.2 spec/internal/app/helpers/users_helper.rb
best_in_place-3.0.1 spec/internal/app/helpers/users_helper.rb
best_in_place-3.0.0 spec/internal/app/helpers/users_helper.rb
best_in_place-3.0.0.rc1 spec/internal/app/helpers/users_helper.rb