Class: Sitepress::Configuration

Inherits:
Struct
  • Object
show all
Defined in:
lib/sitepress/rails.rb

Overview

Contains singletons for rails and some configuration data.

Instance Attribute Summary collapse

Instance Attribute Details

#parent_engineObject

Returns the value of attribute parent_engine

Returns:

  • (Object)

    the current value of parent_engine


5
6
7
# File 'lib/sitepress/rails.rb', line 5

def parent_engine
  @parent_engine
end

#routesObject

Returns the value of attribute routes

Returns:

  • (Object)

    the current value of routes


5
6
7
# File 'lib/sitepress/rails.rb', line 5

def routes
  @routes
end

#siteObject

Returns the value of attribute site

Returns:

  • (Object)

    the current value of site


5
6
7
# File 'lib/sitepress/rails.rb', line 5

def site
  @site
end