Module: Pseudohelp
- Defined in:
- lib/pseudohelp.rb,
lib/pseudohelp/bbcode.rb,
lib/pseudohelp/engine.rb,
lib/pseudohelp/textile.rb,
lib/pseudohelp/version.rb,
lib/pseudohelp/markdown.rb,
lib/pseudohelp/configuration.rb,
app/helpers/pseudohelp/application_helper.rb,
app/controllers/pseudohelp/application_controller.rb,
app/controllers/pseudohelp/markup_languages_controller.rb
Defined Under Namespace
Modules: ApplicationHelper Classes: ApplicationController, Bbcode, Configuration, Engine, Markdown, MarkupLanguagesController, Textile
Constant Summary collapse
- VERSION =
"0.0.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
3 4 5 |
# File 'lib/pseudohelp/configuration.rb', line 3 def configuration @configuration end |
Class Method Details
.compile(type, input) ⇒ Object
8 9 10 |
# File 'lib/pseudohelp.rb', line 8 def self.compile(type, input) "Pseudohelp::#{type.to_s.camelize}::Compiler".constantize.call(input) end |
.configure ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/pseudohelp/configuration.rb', line 6 def self.configure self.configuration = Configuration.new if block_given? yield configuration end self.configuration end |