Module: TimeScales::Frame::PartComponents::HasQuarterOfYear

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

#quarter_of_yearObject (readonly) Also known as: quarter

Returns the value of attribute quarter_of_year.



221
222
223
# File 'lib/time_scales/frame/part_components.rb', line 221

def quarter_of_year
  @quarter_of_year
end

Class Method Details

.included(other) ⇒ Object



217
218
219
# File 'lib/time_scales/frame/part_components.rb', line 217

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