Class: Button
- Inherits:
-
Object
- Object
- Button
- Defined in:
- lib/common_functions.rb
Overview
require “common_functions/version” require “common_functions/view_helpers” require “common_functions/railtie” if defined? Rails
Class Method Summary collapse
- .danger_btn ⇒ Object
- .danger_btn_sm ⇒ Object
- .primary_btn ⇒ Object
- .primary_btn_sm ⇒ Object
- .success_btn ⇒ Object
- .success_btn_sm ⇒ Object
Class Method Details
.danger_btn ⇒ Object
22 23 24 |
# File 'lib/common_functions.rb', line 22 def self.danger_btn "btn btn-danger" end |
.danger_btn_sm ⇒ Object
26 27 28 |
# File 'lib/common_functions.rb', line 26 def self.danger_btn_sm "btn btn-danger btn-sm" end |
.primary_btn ⇒ Object
6 7 8 |
# File 'lib/common_functions.rb', line 6 def self.primary_btn "btn btn-primary" end |
.primary_btn_sm ⇒ Object
10 11 12 |
# File 'lib/common_functions.rb', line 10 def self.primary_btn_sm "btn btn-primary btn-sm" end |
.success_btn ⇒ Object
14 15 16 |
# File 'lib/common_functions.rb', line 14 def self.success_btn "btn btn-success" end |
.success_btn_sm ⇒ Object
18 19 20 |
# File 'lib/common_functions.rb', line 18 def self.success_btn_sm "btn btn-success btn-sm" end |