Module: Fig::Statement::Asset
Overview
Some sort of file to be included in a package.
Instance Method Summary collapse
Instance Method Details
#is_asset? ⇒ Boolean
10 11 12 |
# File 'lib/fig/statement/asset.rb', line 10 def is_asset?() return true end |
#standard_asset_name ⇒ Object
14 15 16 17 18 |
# File 'lib/fig/statement/asset.rb', line 14 def standard_asset_name() # Not so hot of an idea if the URL has query parameters in it, but not # going to fix this now. return url().split('/').last() end |
#urls ⇒ Object
6 7 8 |
# File 'lib/fig/statement/asset.rb', line 6 def urls() return [ url() ] end |