class Bootstrap::ViewHelpers::ContextualClasses

Constants

ALL
DANGER
DARK
INFO
LIGHT
PRIMARY
SECONDARY
SUCCESS
WARNING

Public Class Methods

valid?(style) click to toggle source
# File lib/bootstrap/view_helpers/contextual_classes.rb, line 17
def self.valid?(style)
  ALL.include?(style.to_s.freeze)
end