Class: ODDB::View::Admin::OrphanedLanguages::OrphanedLanguageFacade

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
src/view/admin/orphaned_languages.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (OrphanedLanguageFacade) initialize(lang, document)

A new instance of OrphanedLanguageFacade



44
45
46
47
48
# File 'src/view/admin/orphaned_languages.rb', line 44

def initialize(lang, document)
  @language = lang
  @document = document
  super(document)
end

Instance Attribute Details

- (Object) document (readonly)

Returns the value of attribute document



43
44
45
# File 'src/view/admin/orphaned_languages.rb', line 43

def document
  @document
end

- (Object) language (readonly)

Returns the value of attribute language



42
43
44
# File 'src/view/admin/orphaned_languages.rb', line 42

def language
  @language
end