Class: Documentary::Docblock
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Documentary::Docblock
- Defined in:
- lib/documentary/docblock.rb
Instance Method Summary collapse
-
#initialize(hsh) ⇒ Docblock
constructor
A new instance of Docblock.
Constructor Details
#initialize(hsh) ⇒ Docblock
Returns a new instance of Docblock.
3 4 5 6 7 |
# File 'lib/documentary/docblock.rb', line 3 def initialize(hsh) super(hsh) self.type = self.type.to_sym self.order = self.order || 9999 end |