Sha256: be5d87bbe40b364e8e7cb02bb4cc0f41db1cb7c68f98122a330270a2ea3dfc62

Contents?: true

Size: 356 Bytes

Versions: 17

Compression:

Stored size: 356 Bytes

Contents

#
# Archetype environment
#
module Archetype::SassExtensions::Environment
  #
  # get the current environment (this is similar to compass_env)
  #
  # *Returns*:
  # - {String} the current environment the compiler is running in
  #
  def archetype_env
    return Sass::Script::String.new((Compass.configuration.environment || :development).to_s)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
archetype-0.0.1.pre.13 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.12 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.11 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.10 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.9 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.8 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.7 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.6 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.5 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.4 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.3.90263a7 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.3.6ed259b lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.3.f9dde24 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.3.00dfd9a lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.3.83f0d7a lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.3.55c4182 lib/archetype/sass_extensions/functions/environment.rb
archetype-0.0.1.pre.3.811928f lib/archetype/sass_extensions/functions/environment.rb