Class: RSpec::PathMatchers::Options::Atime
Overview
Class Method Summary
collapse
fetch_actual
Methods inherited from Base
description, match, validate_expected
Class Method Details
.key ⇒ Object
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_attribute ⇒ Object
11
|
# File 'lib/rspec/path_matchers/options/atime.rb', line 11
def self.stat_attribute = :atime
|
.valid_expected_types ⇒ Object
12
|
# File 'lib/rspec/path_matchers/options/atime.rb', line 12
def self.valid_expected_types = [Time, DateTime]
|