Method: Celerity::Image#width

Defined in:
lib/celerity/elements/image.rb

#widthObject

returns the width in pixels of the image, as a string



48
49
50
51
# File 'lib/celerity/elements/image.rb', line 48

def width
  assert_exists
  @object.getWidth
end