Class: RSpec::PathMatchers::Options::Atime

Inherits:
FileStatBase show all
Defined in:
lib/rspec/path_matchers/options/atime.rb

Overview

atime:

Class Method Summary collapse

Methods inherited from FileStatBase

fetch_actual

Methods inherited from Base

description, match, validate_expected

Class Method Details

.keyObject



10
# File 'lib/rspec/path_matchers/options/atime.rb', line 10

def self.key = :atime

.normalize_expected_literal(expected) ⇒ Object



13
# File 'lib/rspec/path_matchers/options/atime.rb', line 13

def self.normalize_expected_literal(expected) = expected.to_time

.stat_attributeObject



11
# File 'lib/rspec/path_matchers/options/atime.rb', line 11

def self.stat_attribute = :atime

.valid_expected_typesObject



12
# File 'lib/rspec/path_matchers/options/atime.rb', line 12

def self.valid_expected_types = [Time, DateTime]