Module: Ronin::Core::Metadata::Description::ClassMethods
- Defined in:
- lib/ronin/core/metadata/description.rb
Overview
Class-methods.
Instance Method Summary collapse
-
#description(new_description = nil) ⇒ String?
Gets or sets the description.
Instance Method Details
#description(new_description = nil) ⇒ String?
Gets or sets the description.
90 91 92 93 94 95 96 97 98 |
# File 'lib/ronin/core/metadata/description.rb', line 90 def description(new_description=nil) if new_description @description = new_description else @description || if superclass.kind_of?(ClassMethods) superclass.description end end end |