Class: UfBaseClass
- Inherits:
-
Object
- Object
- UfBaseClass
- Defined in:
- lib/ebngen/unifmt.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.attr_accessor(*vars) ⇒ Object
8 9 10 11 12 |
# File 'lib/ebngen/unifmt.rb', line 8 def self.attr_accessor(*vars) @attributes ||= [] @attributes.concat vars super(*vars) end |
.attributes ⇒ Object
14 15 16 |
# File 'lib/ebngen/unifmt.rb', line 14 def self.attributes @attributes end |
Instance Method Details
#attributes ⇒ Object
18 19 20 |
# File 'lib/ebngen/unifmt.rb', line 18 def attributes self.class.attributes end |