Module: Bonsai
- Defined in:
- lib/bonsai.rb,
lib/bonsai/page.rb,
lib/bonsai/console.rb,
lib/bonsai/sitemap.rb,
lib/bonsai/version.rb,
lib/bonsai/exporter.rb,
lib/bonsai/generate.rb,
lib/bonsai/template.rb,
lib/bonsai/webserver.rb,
lib/bonsai/navigation.rb
Defined Under Namespace
Classes: Console, DevelopmentServer, Exporter, Generate, Navigation, Page, Sitemap, StaticPassThrough, Template
Constant Summary collapse
- VERSION =
"1.4.9"
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
-
.root_dir ⇒ Object
Returns the value of attribute root_dir.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
12 13 14 |
# File 'lib/bonsai.rb', line 12 def config @config end |
.root_dir ⇒ Object
Returns the value of attribute root_dir.
12 13 14 |
# File 'lib/bonsai.rb', line 12 def root_dir @root_dir end |
Class Method Details
.log(message) ⇒ Object
25 26 27 |
# File 'lib/bonsai.rb', line 25 def log() puts if config[:enable_logging] end |