Module: RSpec::SleepingKingStudios

Defined in:
lib/rspec/sleeping_king_studios.rb,
lib/rspec/sleeping_king_studios/support.rb,
lib/rspec/sleeping_king_studios/version.rb,
lib/rspec/sleeping_king_studios/concerns.rb,
lib/rspec/sleeping_king_studios/examples.rb,
lib/rspec/sleeping_king_studios/matchers.rb,
lib/rspec/sleeping_king_studios/configuration.rb

Overview

Hic Iacet Arthurus, Rex Quondam, Rexque Futurus.

Defined Under Namespace

Modules: Concerns, Examples, Matchers, Support, Version Classes: Configuration

Constant Summary collapse

VERSION =

module

Version.to_gem_version

Class Method Summary collapse

Class Method Details

.gem_pathObject


8
9
10
11
12
13
# File 'lib/rspec/sleeping_king_studios.rb', line 8

def self.gem_path
  pattern =
    /#{File::SEPARATOR}lib#{File::SEPARATOR}rspec#{File::SEPARATOR}?\z/

  __dir__.sub(pattern, '')
end

.versionObject


15
16
17
# File 'lib/rspec/sleeping_king_studios.rb', line 15

def self.version
  @version ||= RSpec::SleepingKingStudios::Version.to_gem_version
end