Method: YARD::Templates::Helpers::BaseHelper#owner

Defined in:
lib/yard/templates/helpers/base_helper.rb,
lib/yard/templates/helpers/base_helper.rb

#ownerCodeObjects::Base (readonly)

Returns the object representing the current generated page. Might not be the current #object when inside sub-templates.

Returns:

  • (CodeObjects::Base)

    the object representing the current generated page. Might not be the current #object when inside sub-templates.



9
10
11
# File 'lib/yard/templates/helpers/base_helper.rb', line 9

def owner
  @owner
end