Module: Htmless::DynamicClasses::Describable::ClassMethods
- Defined in:
- lib/htmless/dynamic_classes.rb
Instance Method Summary (collapse)
-
- (Object) _description=(description)
sets +description+.
- - (Object) to_s
Instance Method Details
- (Object) _description=(description)
sets +description+
56 57 58 |
# File 'lib/htmless/dynamic_classes.rb', line 56 def _description=(description) @_description = description end |
- (Object) to_s
60 61 62 |
# File 'lib/htmless/dynamic_classes.rb', line 60 def to_s super.gsub(/>$/, "(#{@_description})>") end |