Class: BaseProperty

Inherits:
Object
  • Object
show all
Defined in:
lib/libisi/property/base.rb

Overview

Copyright © 2007-2010 Logintas AG Switzerland

This file is part of Libisi.

Libisi is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Libisi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Libisi. If not, see <www.gnu.org/licenses/>.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base_class, name, options = {}) ⇒ BaseProperty

Returns a new instance of BaseProperty.



22
23
24
25
# File 'lib/libisi/property/base.rb', line 22

def initialize(base_class, name, options = {})
  @base_class = base_class
  @name = name
end

Instance Attribute Details

#base_classObject (readonly)

Returns the value of attribute base_class.



20
21
22
# File 'lib/libisi/property/base.rb', line 20

def base_class
  @base_class
end

#nameObject (readonly)

Returns the value of attribute name.



20
21
22
# File 'lib/libisi/property/base.rb', line 20

def name
  @name
end