Sha256: b99a7ad6550644dfa3af277e5ced33a93d429a8c1df91f0ed38ac487306fe950

Contents?: true

Size: 295 Bytes

Versions: 14

Compression:

Stored size: 295 Bytes

Contents

module BootstrapVersionHelper

  def bootstrap_three?
    Bundler.environment.specs['bootstrap-sass'].first.version >= Gem::Version.new('3')
  end

  def bs2(if2)
    bs2or3(if2,'')
  end

  def bs3(if3)
    bs2or3('',if3)
  end

  def bs2or3(if2,if3)
    bootstrap_three? ? if3 : if2
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
browse-everything-0.6.2 app/helpers/bootstrap_version_helper.rb
browse-everything-0.6.1 app/helpers/bootstrap_version_helper.rb
browse-everything-0.6.0 app/helpers/bootstrap_version_helper.rb
browse-everything-0.5.2 app/helpers/bootstrap_version_helper.rb
browse-everything-0.5.1 app/helpers/bootstrap_version_helper.rb
browse-everything-0.5.0 app/helpers/bootstrap_version_helper.rb
browse-everything-0.4.5 app/helpers/bootstrap_version_helper.rb
browse-everything-0.4.4 app/helpers/bootstrap_version_helper.rb
browse-everything-0.4.3 app/helpers/bootstrap_version_helper.rb
browse-everything-0.4.2 app/helpers/bootstrap_version_helper.rb
browse-everything-0.4.1 app/helpers/bootstrap_version_helper.rb
browse-everything-0.4.0 app/helpers/bootstrap_version_helper.rb
browse-everything-0.3.0 app/helpers/bootstrap_version_helper.rb
browse-everything-0.2.0 app/helpers/bootstrap_version_helper.rb