compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/sass_extensions/sprites/image_methods.rb
# Fetches the Sprite::Image object for the supplied name
Fetches the Sprite::Image object for the supplied name
Fetches the Sprite :: Image object for the supplied name
def image_for(name)
          if name.is_a?(Sass::Script::String)
            name = name.value
          end
          name = name.to_s
          @images.detect { |img| img.name == name}
         end
def image_for ( name ) if name . is_a? ( Sass :: Script :: String ) name = name . value end name = name . to_s @images . detect { | img | img . name == name } end
Fetches the Sprite::Image object for the supplied name
Fetches the Sprite :: Image object for the supplied name
name