module Interage::BootstrapButtonHelper

Constants

DEFAULT_BTN_CLASS

Public Instance Methods

bootstrap_default_btn_class(type) click to toggle source
# File lib/interage/bootstrap_button_helper.rb, line 7
def bootstrap_default_btn_class(type)
  default_btn_class = ENV.fetch('DEFAULT_BTN_TYPE_CLASS', DEFAULT_BTN_CLASS)

  "#{default_btn_class}#{type} text-truncate"
end
Also aliased as: bs_default_btn_class
bs_default_btn_class(type)