Class: Documentary::Docblock

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/documentary/docblock.rb

Instance Method Summary collapse

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