Module: Sass::Script::Functions::AppAssetUrl

Included in:
Sass::Script::Functions
Defined in:
lib/zendesk_apps_support/sass_functions.rb

Instance Method Summary collapse

Instance Method Details

#app_asset_url(name) ⇒ Object



7
8
9
10
11
# File 'lib/zendesk_apps_support/sass_functions.rb', line 7

def app_asset_url(name)
  assert_type name, :String
  result = %{url("#{app_asset_url_helper(name)}")}
  Sass::Script::String.new(result)
end