Class: LiteXBRL::TDnet::Summary

Inherits:
FinancialInformation show all
Includes:
SummaryAttribute
Defined in:
lib/litexbrl/tdnet/summary.rb

Constant Summary

Constants included from Utils

Utils::CONSOLIDATED, Utils::NON_CONSOLIDATED, Utils::SECURITIES_CODE

Constants included from AccountItem

AccountItem::CASH_AND_EQUIVALENTS_END_OF_PERIOD, AccountItem::CASH_FLOWS_FROM_FINANCING_ACTIVITIES, AccountItem::CASH_FLOWS_FROM_INVESTING_ACTIVITIES, AccountItem::CASH_FLOWS_FROM_OPERATING_ACTIVITIES, AccountItem::CHANGE_FORECAST_NET_INCOME, AccountItem::CHANGE_FORECAST_NET_SALES, AccountItem::CHANGE_FORECAST_OPERATING_INCOME, AccountItem::CHANGE_FORECAST_ORDINARY_INCOME, AccountItem::CHANGE_IN_NET_INCOME, AccountItem::CHANGE_IN_NET_SALES, AccountItem::CHANGE_IN_OPERATING_INCOME, AccountItem::CHANGE_IN_ORDINARY_INCOME, AccountItem::CHANGE_NET_INCOME, AccountItem::CHANGE_NET_SALES, AccountItem::CHANGE_OPERATING_INCOME, AccountItem::CHANGE_ORDINARY_INCOME, AccountItem::COMPANY_NAME, AccountItem::FORECAST_NET_INCOME, AccountItem::FORECAST_NET_INCOME_PER_SHARE, AccountItem::FORECAST_NET_SALES, AccountItem::FORECAST_OPERATING_INCOME, AccountItem::FORECAST_ORDINARY_INCOME, AccountItem::NET_ASSETS_PER_SHARE, AccountItem::NET_INCOME, AccountItem::NET_INCOME_PER_SHARE, AccountItem::NET_SALES, AccountItem::NUMBER_OF_SHARES, AccountItem::NUMBER_OF_TREASURY_STOCK, AccountItem::OPERATING_INCOME, AccountItem::ORDINARY_INCOME, AccountItem::OWNERS_EQUITY, AccountItem::PREVIOUS_FORECAST_NET_INCOME, AccountItem::PREVIOUS_FORECAST_NET_INCOME_PER_SHARE, AccountItem::PREVIOUS_FORECAST_NET_SALES, AccountItem::PREVIOUS_FORECAST_OPERATING_INCOME, AccountItem::PREVIOUS_FORECAST_ORDINARY_INCOME

Instance Attribute Summary

Attributes included from SummaryAttribute

#cash_and_equivalents_end_of_period, #cash_flows_from_financing_activities, #cash_flows_from_investing_activities, #cash_flows_from_operating_activities, #change_in_forecast_net_income, #change_in_forecast_net_sales, #change_in_forecast_operating_income, #change_in_forecast_ordinary_income, #change_in_net_income, #change_in_net_sales, #change_in_operating_income, #change_in_ordinary_income, #change_in_prior_net_income, #change_in_prior_net_sales, #change_in_prior_operating_income, #change_in_prior_ordinary_income, #code, #consolidation, #forecast_net_income, #forecast_net_income_per_share, #forecast_net_sales, #forecast_operating_income, #forecast_ordinary_income, #month, #net_assets_per_share, #net_income, #net_income_per_share, #net_sales, #number_of_shares, #number_of_treasury_stock, #operating_income, #ordinary_income, #owners_equity, #prior_net_income, #prior_net_income_per_share, #prior_net_sales, #prior_operating_income, #prior_ordinary_income, #quarter, #year

Class Method Summary collapse

Methods included from SummaryAttribute

#attributes, #attributes_results_forecast, #cash_flow_attributes

Methods included from Utils

#hash_with_default, #percent_to_f, #present?, #to_consolidation, #to_f, #to_i, #to_mill, #to_month, #to_securities_code, #to_year

Methods included from AccountItem

define_item, define_nested_item

Class Method Details

.read(doc) ⇒ Object



6
7
8
9
10
11
# File 'lib/litexbrl/tdnet/summary.rb', line 6

def self.read(doc)
  xbrl = read_data doc

  {summary: xbrl.attributes,
    results_forecast: [xbrl.attributes_results_forecast]}
end