class MicroMagick::IdentifyParser

Constants

DIMENSIONS_RE

Attributes

height[R]
width[R]

Public Class Methods

new(stdout) click to toggle source
# File lib/micro_magick/identify_parser.rb, line 7
def initialize(stdout)
  if (m = stdout.match(DIMENSIONS_RE))
    @width, @height = m[1].to_i, m[2].to_i
  end
end