Class: GrapeDoc::ApiDocParts::H1
- Inherits:
-
StringObject
- Object
- String
- StringBasic
- StringObject
- GrapeDoc::ApiDocParts::H1
- Defined in:
- lib/grape/doc/doc_class/header.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ H1
constructor
A new instance of H1.
Methods inherited from StringBasic
#markdown, markdown, markdown=, #to_textile
Constructor Details
#initialize(*args) ⇒ H1
Returns a new instance of H1.
36 37 38 39 |
# File 'lib/grape/doc/doc_class/header.rb', line 36 def initialize(*args) super @opts['id']= SecureRandom.uuid end |