module ResponsiveImages::Config

Constants

VALID_OPTION_KEYS

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/responsive_images/config.rb, line 11
def configure
  yield self
  self
end
options() click to toggle source
# File lib/responsive_images/config.rb, line 16
def options
  options = {}
  VALID_OPTION_KEYS.each{ |pname| options[pname] = send(pname) }
  options
end
responsive_sizes() click to toggle source
# File lib/responsive_images/config.rb, line 23
def responsive_sizes
  sizes
end