Method: Betterdocs::Global.assets
- Defined in:
- lib/betterdocs/global.rb
.assets(hash = nil) ⇒ Object
88 89 90 91 92 |
# File 'lib/betterdocs/global.rb', line 88 def assets(hash = nil) @assets ||= {} hash&.each { |path, to| asset path, to: to } @assets end |