Module: TimeScales::Frame::PartComponents::HasYearOfScheme

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

#year_of_schemeObject (readonly) Also known as: year

Returns the value of attribute year_of_scheme.



11
12
13
# File 'lib/time_scales/frame/part_components.rb', line 11

def year_of_scheme
  @year_of_scheme
end

Class Method Details

.included(other) ⇒ Object



7
8
9
# File 'lib/time_scales/frame/part_components.rb', line 7

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