Class: Button

Inherits:
Object
  • Object
show all
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

Class Method Details

.danger_btnObject



22
23
24
# File 'lib/common_functions.rb', line 22

def self.danger_btn
  "btn btn-danger"
end

.danger_btn_smObject



26
27
28
# File 'lib/common_functions.rb', line 26

def self.danger_btn_sm
  "btn btn-danger btn-sm"
end

.primary_btnObject



6
7
8
# File 'lib/common_functions.rb', line 6

def self.primary_btn
  "btn btn-primary"
end

.primary_btn_smObject



10
11
12
# File 'lib/common_functions.rb', line 10

def self.primary_btn_sm
  "btn btn-primary btn-sm"
end

.success_btnObject



14
15
16
# File 'lib/common_functions.rb', line 14

def self.success_btn
  "btn btn-success"
end

.success_btn_smObject



18
19
20
# File 'lib/common_functions.rb', line 18

def self.success_btn_sm
  "btn btn-success btn-sm"
end