Class: Flux::Truthy
- Defined in:
- lib/flux_capacitor/testing.rb
Instance Attribute Summary
Attributes inherited from Capacitor
Instance Method Summary collapse
-
#initialize(*args) ⇒ Truthy
constructor
A new instance of Truthy.
- #travel_to?(point) ⇒ Boolean
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
19 20 21 |
# File 'lib/flux_capacitor/testing.rb', line 19 def travel_to?(point) true end |