Class: Flux::Falsy

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) ⇒ Falsy

Returns a new instance of Falsy.



3
4
5
6
# File 'lib/flux_capacitor/testing.rb', line 3

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

Instance Method Details

#travel_to?(point) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/flux_capacitor/testing.rb', line 8

def travel_to?(point)
  false
end