Class: EmberCli::Assets::DirectoryAssetMap
- Inherits:
-
Object
- Object
- EmberCli::Assets::DirectoryAssetMap
- Defined in:
- lib/ember_cli/assets/directory_asset_map.rb
Instance Method Summary collapse
-
#initialize(directory) ⇒ DirectoryAssetMap
constructor
A new instance of DirectoryAssetMap.
- #to_h ⇒ Object
Constructor Details
#initialize(directory) ⇒ DirectoryAssetMap
Returns a new instance of DirectoryAssetMap.
4 5 6 |
# File 'lib/ember_cli/assets/directory_asset_map.rb', line 4 def initialize(directory) @directory = Pathname.new(directory) end |
Instance Method Details
#to_h ⇒ Object
8 9 10 11 12 13 |
# File 'lib/ember_cli/assets/directory_asset_map.rb', line 8 def to_h { "assets" => files_with_data, "prepend" => "assets/", } end |