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