Module: Sass::Images::Functions
- Defined in:
- lib/sass/images/functions.rb
Instance Method Summary collapse
Instance Method Details
#image_height(path) ⇒ Object
12 13 14 15 |
# File 'lib/sass/images/functions.rb', line 12 def image_height(path) image = Image.new(resolve_path path) Sass::Script::Number.new image.height, ['px'] end |