Module: Tipsy
- Extended by:
- Tipsy
- Included in:
- Tipsy
- Defined in:
- lib/tipsy/handler/erb.rb,
lib/tipsy.rb,
lib/tipsy/site.rb,
lib/tipsy/view.rb,
lib/tipsy/runner.rb,
lib/tipsy/server.rb,
lib/tipsy/helpers.rb,
lib/tipsy/version.rb,
lib/tipsy/view/base.rb,
lib/tipsy/view/path.rb,
lib/tipsy/utils/tree.rb,
lib/tipsy/handler/php.rb,
lib/tipsy/helpers/tag.rb,
lib/tipsy/handler/sass.rb,
lib/tipsy/helpers/sass.rb,
lib/tipsy/utils/logger.rb,
lib/tipsy/utils/system.rb,
lib/tipsy/view/context.rb,
lib/tipsy/configuration.rb,
lib/tipsy/handler/asset.rb,
lib/tipsy/handler/static.rb,
lib/tipsy/helpers/capture.rb,
lib/tipsy/runners/compiler.rb,
lib/tipsy/runners/deployer.rb,
lib/tipsy/helpers/rendering.rb,
lib/tipsy/runners/generator.rb,
lib/tipsy/utils/system_test.rb,
lib/tipsy/helpers/asset_tags.rb,
lib/tipsy/helpers/asset_paths.rb,
lib/tipsy/handler/sass/importer.rb,
lib/tipsy/handler/sass/resolver.rb,
lib/tipsy/compressors/css_compressor.rb,
lib/tipsy/compressors/javascript_compressor.rb
Overview
This allows support for Rails view helpers.
Defined Under Namespace
Modules: Compressors, Handler, Helpers, Runners, Utils, View
Classes: Configuration, Runner, Server, Site
Constant Summary
collapse
- VERSION =
"0.1.4"
Instance Method Summary
collapse
Instance Method Details
#compiling? ⇒ Boolean
35
36
37
|
# File 'lib/tipsy.rb', line 35
def compiling?
Tipsy.env == "compile"
end
|
#env ⇒ Object
39
40
41
|
# File 'lib/tipsy.rb', line 39
def env
@env ||= ENV['TIPSY_ENV'] || 'development'
end
|
#logger ⇒ Object
47
48
49
|
# File 'lib/tipsy.rb', line 47
def logger
@logger ||= Tipsy::Utils::Logger.new($stdout)
end
|
#root ⇒ Object
43
44
45
|
# File 'lib/tipsy.rb', line 43
def root
@root ||= ENV['TIPSY_ROOT']
end
|