Module: TimeScales::Frame::PartComponents::HasDayOfYear
- Defined in:
- lib/time_scales/frame/part_components.rb
Defined Under Namespace
Modules: ClassMixin
Instance Attribute Summary collapse
-
#day_of_year ⇒ Object
(also: #day)
readonly
Returns the value of attribute day_of_year.
Class Method Summary collapse
Instance Attribute Details
#day_of_year ⇒ Object (readonly) Also known as: day
Returns the value of attribute day_of_year.
101 102 103 |
# File 'lib/time_scales/frame/part_components.rb', line 101 def day_of_year @day_of_year end |
Class Method Details
.included(other) ⇒ Object
97 98 99 |
# File 'lib/time_scales/frame/part_components.rb', line 97 def self.included(other) other.extend HasDayOfYear::ClassMixin end |