Module: LocalesAdmin

Defined in:
lib/locales_admin.rb,
lib/locales_admin/engine.rb,
lib/locales_admin/version.rb,
app/helpers/locales_admin/application_helper.rb,
app/controllers/locales_admin/main_controller.rb,
app/controllers/locales_admin/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper Classes: ApplicationController, Engine, MainController

Constant Summary collapse

VERSION =
"0.1.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.passwordObject

Returns the value of attribute password.



7
8
9
# File 'lib/locales_admin.rb', line 7

def password
  @password
end

.usernameObject

Returns the value of attribute username.



6
7
8
# File 'lib/locales_admin.rb', line 6

def username
  @username
end

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (LocalesAdmin)

    the object that the method was called on



10
11
12
# File 'lib/locales_admin.rb', line 10

def self.setup(&block)
  yield self
end