Module: TimeScales::Frame::PartComponents::HasHourOfDay

Defined in:
lib/time_scales/frame/part_components.rb

Defined Under Namespace

Modules: ClassMixin

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#hour_of_dayObject (readonly) Also known as: hour

Returns the value of attribute hour_of_day.



131
132
133
# File 'lib/time_scales/frame/part_components.rb', line 131

def hour_of_day
  @hour_of_day
end

Class Method Details

.included(other) ⇒ Object



127
128
129
# File 'lib/time_scales/frame/part_components.rb', line 127

def self.included(other)
  other.extend HasHourOfDay::ClassMixin
end