Sha256: 6078e1bdd87dc5a20f50afd101f33b6346fda7d54a685b8bbf5bebaaec19dc46

Contents?: true

Size: 937 Bytes

Versions: 1

Compression:

Stored size: 937 Bytes

Contents

require 'pathname'

class Thor
  # Absolute, expanded path to the gem's root directory.
  # 
  # @return [Pathname]
  # 
  ROOT = Pathname.new( __dir__ ).join( '..', '..' ).expand_path
  
  
  # Gem version string.
  # 
  # See {file:doc/files/notes/versioning.md} for details.
  # 
  # @return [String]
  # 
  VERSION = '0.1.12'
  
  
  # The version of Thor that Atli is up to date with.
  # 
  # Right now, it's the version of Thor that was forked, but if I'm able to
  # merge Thor updates in and end up doing so, I intend to update this to
  # reflect it.
  # 
  # See {file:doc/files/notes/versioning.md} for details.
  # 
  # @return [String]
  # 
  THOR_VERSION = '0.1.12'


  # Are we running from the source code (vesus from a Gem install)?
  # 
  # Looks for the `//dev` directory, which is not included in the package.
  # 
  # @return [Boolean]
  # 
  def self.running_from_source?
    ( ROOT + 'dev' ).directory?
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
atli-0.1.12 lib/thor/version.rb