Module: Rayo::Taggable
- Defined in:
- lib/rayo/taggable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
11 12 13 |
# File 'lib/rayo/taggable.rb', line 11 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#error(text) ⇒ Object
15 16 17 |
# File 'lib/rayo/taggable.rb', line 15 def error( text ) "<strong class=\"error\">#{text}</strong>" end |