Sha256: 5f325e6b185719c4281b929a8da5a2e4e1b856d19bdeb4b27f3d6c976018e12f

Contents?: true

Size: 130 Bytes

Versions: 26

Compression:

Stored size: 130 Bytes

Contents

module OpenStax::Utilities::Helpers
  module Misc

    def tf_to_yn(bool, options={})
      bool ? "Yes" : "No"
    end

  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
openstax_utilities-5.1.2 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-5.1.1 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-5.1.0 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-5.0.0 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.5.2 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.5.1 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.5.0 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.4.2 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.4.1 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.4.0 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.3.0 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.2.3 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.2.2 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.2.1 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.2.0 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.1.0 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-4.0.0 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-3.0.0 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-2.2.3 lib/openstax/utilities/helpers/misc.rb
openstax_utilities-2.2.2 lib/openstax/utilities/helpers/misc.rb