Module: RailsAssist::Artifact::Asset::SingleArg::HashArg
- Extended by:
- FileName::Helper
- Defined in:
- lib/rails_artifactor/artifact/file_name/asset.rb
Class Method Summary collapse
Methods included from FileName::Helper
filename_name, filename_type, get_asset_type, get_type, type_from
Class Method Details
.get_asset_args(one_hash) ⇒ Object
82 83 84 85 86 87 88 |
# File 'lib/rails_artifactor/artifact/file_name/asset.rb', line 82 def self.get_asset_args one_hash folder = one_hash.keys.first.to_s filename = one_hash.values.first.to_s name = filename_name filename type = get_asset_type(filename_type filename) [folder, name, type] end |