module PathMapper::Helpers
Public Instance Methods
kwargs(args)
click to toggle source
# File lib/path_mapper/helpers.rb, line 7 def kwargs(args) case args.last when Hash then args.pop else {} end end
with_line_separator(arg)
click to toggle source
# File lib/path_mapper/helpers.rb, line 14 def with_line_separator(arg) if arg.is_a? Array with_line_separator(arg.join("\n")) else "#{arg}\n" end end