Sha256: c02f5a10841dbaede2c448bbb31390fd590bf75a2e04e4c5a2ad445390bfb1f5

Contents?: true

Size: 247 Bytes

Versions: 6

Compression:

Stored size: 247 Bytes

Contents

module Sass::Script::Functions

  def image_url(path)
     Sass::Script::String.new("url(#{File.join("/assets/images", path.value)})")
  end

  def image_path(path)
     Sass::Script::String.new(File.join("/assets/images", path.value))
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
half-pipe-0.3.0.beta.2 lib/sass/half_pipe_functions.rb
half-pipe-0.3.0.beta.1 lib/sass/half_pipe_functions.rb
half-pipe-0.3.0.alpha.5 lib/sass/half_pipe_functions.rb
half-pipe-0.3.0.alpha.4 lib/sass/half_pipe_functions.rb
half-pipe-0.3.0.alpha.3 lib/sass/half_pipe_functions.rb
half-pipe-0.3.0.alpha.2 lib/sass/half_pipe_functions.rb