Class: RockBooks::ReportContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/rock_books/reports/report_context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#chart_of_accountsObject

Returns the value of attribute chart_of_accounts

Returns:

  • (Object)

    the current value of chart_of_accounts



3
4
5
# File 'lib/rock_books/reports/report_context.rb', line 3

def chart_of_accounts
  @chart_of_accounts
end

#journalsObject

Returns the value of attribute journals

Returns:

  • (Object)

    the current value of journals



3
4
5
# File 'lib/rock_books/reports/report_context.rb', line 3

def journals
  @journals
end

#page_widthObject

Returns the value of attribute page_width

Returns:

  • (Object)

    the current value of page_width



3
4
5
# File 'lib/rock_books/reports/report_context.rb', line 3

def page_width
  @page_width
end

Instance Method Details

#entityObject



5
6
7
# File 'lib/rock_books/reports/report_context.rb', line 5

def entity
  chart_of_accounts.entity
end