Class: RouteTranslator::Configuration

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

Instance Attribute Summary collapse

Instance Attribute Details

#force_localeObject

Returns the value of attribute force_locale

Returns:

  • (Object)

    the current value of force_locale



13
14
15
# File 'lib/route_translator.rb', line 13

def force_locale
  @force_locale
end

#generate_unlocalized_routesObject

Returns the value of attribute generate_unlocalized_routes

Returns:

  • (Object)

    the current value of generate_unlocalized_routes



13
14
15
# File 'lib/route_translator.rb', line 13

def generate_unlocalized_routes
  @generate_unlocalized_routes
end

#locale_param_keyObject

Returns the value of attribute locale_param_key

Returns:

  • (Object)

    the current value of locale_param_key



13
14
15
# File 'lib/route_translator.rb', line 13

def locale_param_key
  @locale_param_key
end

#translation_fileObject

Returns the value of attribute translation_file

Returns:

  • (Object)

    the current value of translation_file



13
14
15
# File 'lib/route_translator.rb', line 13

def translation_file
  @translation_file
end