Sha256: c6508ca9fcbaf5f174eb9df6a212f34c93f274b9b029e2c678cbf5ff356c8233

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 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

3 entries across 3 versions & 1 rubygems

Version Path
cliutils-1.2.6 lib/cliutils/prefs/pref_behavior.rb
cliutils-1.2.5 lib/cliutils/prefs/pref_behavior.rb
cliutils-1.2.4 lib/cliutils/prefs/pref_behavior.rb