Class: Pseudohelp::Configuration
- Inherits:
-
Object
- Object
- Pseudohelp::Configuration
- Defined in:
- lib/pseudohelp/configuration.rb
Instance Attribute Summary collapse
-
#compilers ⇒ Object
Returns the value of attribute compilers.
-
#extra_help ⇒ Object
-
*.
-
Instance Method Summary collapse
Instance Attribute Details
#compilers ⇒ Object
Returns the value of attribute compilers.
21 22 23 |
# File 'lib/pseudohelp/configuration.rb', line 21 def compilers @compilers end |
#extra_help ⇒ Object
-
*
-
33 34 35 |
# File 'lib/pseudohelp/configuration.rb', line 33 def extra_help @extra_help end |
Instance Method Details
#formats ⇒ Object
37 38 39 |
# File 'lib/pseudohelp/configuration.rb', line 37 def formats @formats ||= [:bbcode, :markdown, :textile] end |
#help ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/pseudohelp/configuration.rb', line 41 def help @help ||= { bbcode: Pseudohelp::Bbcode.documentation_hash, markdown: Pseudohelp::Markdown.documentation_hash, textile: Pseudohelp::Textile.documentation_hash }.deep_merge(extra_help) # .sort end |