Class: UcbRails::Renderer::LdapPersonSearchResultLink
- Defined in:
- app/helpers/ucb_rails/renderer/ldap_person_search_result_link.rb
Instance Attribute Summary collapse
-
#entry ⇒ Object
Returns the value of attribute entry.
Attributes inherited from Base
Instance Method Summary collapse
- #html ⇒ Object
-
#initialize(template, entry, options = {}) ⇒ LdapPersonSearchResultLink
constructor
A new instance of LdapPersonSearchResultLink.
Constructor Details
#initialize(template, entry, options = {}) ⇒ LdapPersonSearchResultLink
Returns a new instance of LdapPersonSearchResultLink.
7 8 9 10 |
# File 'app/helpers/ucb_rails/renderer/ldap_person_search_result_link.rb', line 7 def initialize(template, entry, ={}) super template, self.entry = entry end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UcbRails::Renderer::Base
Instance Attribute Details
#entry ⇒ Object
Returns the value of attribute entry.
5 6 7 |
# File 'app/helpers/ucb_rails/renderer/ldap_person_search_result_link.rb', line 5 def entry @entry end |
Instance Method Details
#html ⇒ Object
12 13 14 |
# File 'app/helpers/ucb_rails/renderer/ldap_person_search_result_link.rb', line 12 def html exists? ? exists_html : (text, :mini, :primary, ) end |