Module: Bootstrap::Dev::Preview
- Defined in:
- lib/bootstrap/dev/preview.rb,
lib/bootstrap/dev/preview/version.rb
Constant Summary collapse
- VERSION =
"1.0.1"
Class Method Summary collapse
Class Method Details
.hi ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/bootstrap/dev/preview.rb', line 8 def self.hi # bootstrap basic defined colors colors = ['primary','secondary','info','warning','dark','light','white'] returned = "" colors.each do |color| returned += "<p class='bg-#{color} p-3'>This is #{color} color</p>" end returned end |