Sha256: bad4d265b69f4ac3607271f0c4bdab9d48a9786a55bcd38d8abdb5dfa3c39125
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
module Flux class Falsy < Capacitor def initialize(*args) @pivot = DateTime.now @time_dilation = 2.0 end def travel_to?(point) false end end class Truthy < Capacitor def initialize(*args) @pivot = DateTime.now @time_dilation = 2.0 end def travel_to?(point) true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flux_capacitor-0.2.1 | lib/flux_capacitor/testing.rb |
flux_capacitor-0.2.0 | lib/flux_capacitor/testing.rb |