Parent

Methods

Files

Class/Module Index [+]

Quicksearch

Paperclip::GeometryParser

Constants

FORMAT

Public Class Methods

new(string) click to toggle source
# File lib/paperclip/geometry_parser_factory.rb, line 4
def initialize(string)
  @string = string
end

Public Instance Methods

make() click to toggle source
# File lib/paperclip/geometry_parser_factory.rb, line 8
def make
  if match
    Geometry.new(
      :height => @height,
      :width => @width,
      :modifier => @modifier,
      :orientation => @orientation
    )
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.