Class: PortfolioManager::Xml::TimeframeType::TwoPeriods
- Inherits:
-
Object
- Object
- PortfolioManager::Xml::TimeframeType::TwoPeriods
- Defined in:
- lib/portfolio_manager/xml.rb
Overview
inner class for member: twoPeriods {}twoPeriods
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil) ⇒ TwoPeriods
constructor
A new instance of TwoPeriods.
Constructor Details
#initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil) ⇒ TwoPeriods
Returns a new instance of TwoPeriods.
7947 7948 7949 7950 |
# File 'lib/portfolio_manager/xml.rb', line 7947 def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil) @periodEndingDateOne = periodEndingDateOne @periodEndingDateTwo = periodEndingDateTwo end |
Instance Attribute Details
#periodEndingDateOne ⇒ PortfolioManager::Xml::Ped
7943 7944 7945 7946 7947 7948 7949 7950 7951 |
# File 'lib/portfolio_manager/xml.rb', line 7943 class TwoPeriods attr_accessor :periodEndingDateOne attr_accessor :periodEndingDateTwo def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil) @periodEndingDateOne = periodEndingDateOne @periodEndingDateTwo = periodEndingDateTwo end end |
#periodEndingDateTwo ⇒ PortfolioManager::Xml::Ped
7943 7944 7945 7946 7947 7948 7949 7950 7951 |
# File 'lib/portfolio_manager/xml.rb', line 7943 class TwoPeriods attr_accessor :periodEndingDateOne attr_accessor :periodEndingDateTwo def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil) @periodEndingDateOne = periodEndingDateOne @periodEndingDateTwo = periodEndingDateTwo end end |