Flowdock
method

extract_dimensions

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActionView::Helpers::AssetTagHelper
extract_dimensions(size) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/asset_tag_helper.rb, line 483
        def extract_dimensions(size)
          size = size.to_s
          if /\A\d+x\d+\z/.match?(size)
            size.split("x")
          elsif /\A\d+\z/.match?(size)
            [size, size]
          end
        end
Register or log in to add new notes.