class TimeScales::Frame::SchemeRelativeFrame
Public Instance Methods
begin_time()
click to toggle source
# File lib/time_scales/frame/scheme_relative_frame.rb, line 9 def begin_time @begin_time ||= Time.new( *begin_time_struct.to_a ) end
Also aliased as: to_time
succ_begin_time()
click to toggle source
# File lib/time_scales/frame/scheme_relative_frame.rb, line 15 def succ_begin_time raise NotImplementedError, "Subclass responsibility" end
to_range()
click to toggle source
# File lib/time_scales/frame/scheme_relative_frame.rb, line 5 def to_range @to_range ||= ( begin_time...succ_begin_time ) end