module Bashly::AssetHelper

Public Instance Methods

asset(path) click to toggle source
# File lib/bashly/concerns/asset_helper.rb, line 3
def asset(path)
  File.expand_path "../#{path}", __dir__
end
asset_content(path) click to toggle source
# File lib/bashly/concerns/asset_helper.rb, line 7
def asset_content(path)
  File.read asset(path)
end