Class: Flux::Truthy

Inherits:
Capacitor show all
Defined in:
lib/flux_capacitor/testing.rb

Instance Attribute Summary

Attributes inherited from Capacitor

#pivot, #time_dilation

Instance Method Summary collapse

Methods inherited from Capacitor

#limit, oldest_string_time, #string_to_time, string_to_time

Constructor Details

#initialize(*args) ⇒ Truthy

Returns a new instance of Truthy.



14
15
16
17
# File 'lib/flux_capacitor/testing.rb', line 14

def initialize(*args)
  @pivot = DateTime.now
  @time_dilation = 2.0
end

Instance Method Details

#travel_to?(point) ⇒ Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/flux_capacitor/testing.rb', line 19

def travel_to?(point)
  true
end