Module: Marquery
- Defined in:
- lib/marquery.rb,
lib/marquery/entry.rb,
lib/marquery/error.rb,
lib/marquery/index.rb,
lib/marquery/model.rb,
lib/marquery/order.rb,
lib/marquery/query.rb,
lib/marquery/parser.rb,
lib/marquery/helpers.rb,
lib/marquery/version.rb,
lib/marquery/registry.rb,
lib/marquery/renderer.rb,
lib/marquery/collection.rb,
lib/marquery/renderable.rb,
lib/marquery/attributable.rb,
lib/marquery/asset_handler.rb,
lib/marquery/markdown_to_html.rb
Defined Under Namespace
Modules: Attributable, Collection, Helpers, MarkdownToHtml, Model, Order, Query, Registry, Renderable
Classes: AssetHandler, AssetNotFound, Configuration, Entry, EntryNotFound, Error, Index, ParseError, Parser, Renderer
Constant Summary
collapse
- VERSION =
"0.1.0"
- ASSET_URI_REGEX =
%r{asset:([^\s)"'<>]+)}
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
30
31
32
|
# File 'lib/marquery.rb', line 30
def config
@config ||= Configuration.new
end
|
34
35
36
37
|
# File 'lib/marquery.rb', line 34
def configure
yield config
config
end
|
.reset_config! ⇒ Object
39
40
41
|
# File 'lib/marquery.rb', line 39
def reset_config!
@config = Configuration.new
end
|