README.md in rails_external_assets-0.3.1 vs README.md in rails_external_assets-0.4.0
- old
+ new
@@ -89,10 +89,10 @@
This will include the first two JS assets, `normalAsset` and `anotherAsset` from Rails' asset pipeline, and the other JS assets, `firstAsset`, `anotherAsset`, all JS files directly in `externals/myFolder`, and all JS files in the tree `externals/folderWithMoreFolders` from your external assets. The external assets are resolved by looking up these files in the asset manifest JSON file provided.
## With Plain Ruby
-`RailsExternalAssets::AssetFinder` provides three methods for your disposal.
+The `RailsExternalAssets::AssetFinder` class provides three class methods for your disposal.
`asset_path` takes a path to an external asset file, and returns the corresponding built asset path by looking up the key in the asset manifest JSON file.
`exeternal_asset` takes a path and returns the built asset path (the result of `asset_path`) and joins it with the base path. If a block is provided, the external asset path is passed to the block and the resulting value is returned.