Class: Paperclip::GeometryParser Deprecated
- Inherits:
-
Object
- Object
- Paperclip::GeometryParser
- Defined in:
- lib/paperclip/geometry_parser_factory.rb
Overview
Deprecated.
Will be removed in Paperclip 8.0. Use Paperclip::Commands::ImageMagick::GeometryParser instead.
Constant Summary collapse
- FORMAT =
Deprecated.
Will be removed in Paperclip 8.0. Use
Paperclip::Commands::ImageMagick::GeometryParser::FORMATinstead. Paperclip::Commands::ImageMagick::GeometryParser::FORMAT
Instance Method Summary collapse
-
#initialize(string) ⇒ GeometryParser
constructor
deprecated
Deprecated.
Will be removed in Paperclip 8.0. Use
Paperclip::Commands::ImageMagick::GeometryParserinstead. -
#make ⇒ Object
deprecated
Deprecated.
Will be removed in Paperclip 8.0. Use
Paperclip::Commands::ImageMagick::GeometryParserinstead.
Constructor Details
#initialize(string) ⇒ GeometryParser
Deprecated.
Will be removed in Paperclip 8.0. Use Paperclip::Commands::ImageMagick::GeometryParser instead.
Returns a new instance of GeometryParser.
10 11 12 13 |
# File 'lib/paperclip/geometry_parser_factory.rb', line 10 def initialize(string) warn_deprecation @string = string end |
Instance Method Details
#make ⇒ Object
Deprecated.
Will be removed in Paperclip 8.0. Use Paperclip::Commands::ImageMagick::GeometryParser instead.
16 17 18 19 |
# File 'lib/paperclip/geometry_parser_factory.rb', line 16 def make warn_deprecation Paperclip::Commands::ImageMagick::GeometryParser.parse(@string) end |