Module: RailsAssist::Artifact::Asset::SingleArg
- Defined in:
- lib/rails_artifactor/artifact/file_name/asset.rb
Defined Under Namespace
Modules: HashArg, HashArgs, StringArg
Class Method Summary collapse
Class Method Details
.get_asset_args(*args) ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/rails_artifactor/artifact/file_name/asset.rb', line 67 def self.get_asset_args *args args = args.flatten arg = args.first case arg when Hash return HashArg.get_asset_args arg if arg.keys.size == 1 HashArgs.get_asset_args *args when Symbol, String TwoArgs.get_asset_args *args end end |