Project

General

Profile

« Previous | Next » 

Revision c2c26953

Added by Marc Dequènes over 13 years ago

  • ID c2c269539e77e757f52a43ef19de5c5c6f85ae1e

[evol] virtual attributes support §2 (aspect vattrs with example) (refs #141)

View differences:

lib/ldap_shadows/elements/aspect.rb
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#++
require 'delegate'
module LdapShadows
module Elements
class LdapAspect
class LdapAspect < Delegator
include LdapElement
def initialize(obj)
super
@_sd_obj = obj
end
def __getobj__
@_sd_obj
end
def self.cast_relations
super

Also available in: Unified diff