Class: Paperclip::GeometryParser
- Inherits:
-
Object
- Object
- Paperclip::GeometryParser
- Defined in:
- lib/paperclip/geometry_parser_factory.rb
Constant Summary collapse
- FORMAT =
/\b(\d*)x?(\d*)\b(?:,(\d?))?(\@\>|\>\@|[\>\<\#\@\%^!])?/i
Instance Method Summary collapse
-
#initialize(string) ⇒ GeometryParser
constructor
A new instance of GeometryParser.
- #make ⇒ Object
Constructor Details
#initialize(string) ⇒ GeometryParser
Returns a new instance of GeometryParser.
4 5 6 |
# File 'lib/paperclip/geometry_parser_factory.rb', line 4 def initialize(string) @string = string end |