Class: YahooFinance::FinancialStatement::AnnualIncomeStatementPage
- Inherits:
-
FinancialStatementPage
- Object
- FinancialStatementPage
- YahooFinance::FinancialStatement::AnnualIncomeStatementPage
- Defined in:
- lib/yahoo_finance/financial_statement.rb
Instance Attribute Summary
Attributes inherited from FinancialStatementPage
Instance Method Summary collapse
-
#initialize(symbol = nil) ⇒ AnnualIncomeStatementPage
constructor
A new instance of AnnualIncomeStatementPage.
Methods inherited from FinancialStatementPage
#available_fields, #fetch, #statement_periods, #term=, #value_for
Constructor Details
#initialize(symbol = nil) ⇒ AnnualIncomeStatementPage
Returns a new instance of AnnualIncomeStatementPage.
274 275 276 277 278 279 280 |
# File 'lib/yahoo_finance/financial_statement.rb', line 274 def initialize symbol = nil super symbol @term = :annual @data_columns = 3 @type="is" @field_defs = YahooFinance::FinancialStatement::INCOME_STMT_FIELDS end |