Sha256: b9b69861d11b77883bca2d509228e9c34825fb7f318e070507138268a8859b96

Contents?: true

Size: 342 Bytes

Versions: 4

Compression:

Stored size: 342 Bytes

Contents

module CLIUtils
  # PrefBehavior Module
  # Behaviors that should be applied to a Pref's
  # final value
  module PrefBehavior
    # Expands the passed text (assumes it
    # is a filepath).
    # @param [String] text The text to evaluate
    # @return [String]
    def self.local_filepath(text)
      File.expand_path(text)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cliutils-1.2.3 lib/cliutils/prefs/pref-behavior.rb
cliutils-1.2.2 lib/cliutils/prefs/pref-behavior.rb
cliutils-1.2.1 lib/cliutils/prefs/pref-behavior.rb
cliutils-1.2.0 lib/cliutils/prefs/pref-behavior.rb