module Spina

Constants

PARTS
PLUGINS
THEMES
VERSION

Public Class Methods

config() click to toggle source
# File lib/spina.rb, line 74
def config
  config_obj = self.config_original
  
  def config_obj.embedded_image_size=(image_size)
    if image_size.is_a? String
      ActiveSupport::Deprecation.warn("Spina embedded_image_size should be set to an array of arguments to be passed to the :resize_to_limit ImageProcessing macro. https://github.com/janko/image_processing/blob/master/doc/minimagick.md#resize_to_limit")
    end
    
    self[:embedded_image_size] = image_size
  end
  
  config_obj
end
Also aliased as: config_original
config_original()
Alias for: config