module Dhall::Rails::PathnameAsDhallText
Public Instance Methods
as_dhall()
click to toggle source
# File lib/dhall/rails.rb, line 44 def as_dhall Text.new(value: directory? ? "#{cleanpath}/" : cleanpath) end