Class: TimestampMaker::TimeZoneLookupers::Mock
- Inherits:
-
Object
- Object
- TimestampMaker::TimeZoneLookupers::Mock
- Defined in:
- lib/timestamp_maker/time_zone_lookupers/mock.rb
Instance Method Summary collapse
-
#initialize(time_zone) ⇒ Mock
constructor
A new instance of Mock.
- #lookup ⇒ Object
Constructor Details
#initialize(time_zone) ⇒ Mock
Returns a new instance of Mock.
6 7 8 |
# File 'lib/timestamp_maker/time_zone_lookupers/mock.rb', line 6 def initialize(time_zone) @time_zone = time_zone end |
Instance Method Details
#lookup ⇒ Object
10 11 12 |
# File 'lib/timestamp_maker/time_zone_lookupers/mock.rb', line 10 def lookup(*) @time_zone end |