Method: Kuhsaft::Brick#to_style_class
- Defined in:
- app/models/kuhsaft/brick.rb
#to_style_class ⇒ Object
Returns a css classname suitable for use in the frontend
102 103 104 |
# File 'app/models/kuhsaft/brick.rb', line 102 def to_style_class ([self.class.to_s.underscore.dasherize.gsub('/', '-')] + display_styles).join(' ') end |