Module: RFunk::Attribute

Defined in:
lib/rfunk/attribute/attribute.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
# File 'lib/rfunk/attribute/attribute.rb', line 3

def self.included(base)
  base.extend(RFunk::AttributeDefinition)
  base.extend(RFunk::AttributeFunction)
end

Instance Method Details

#initialize(options = {}) ⇒ Object



8
9
10
11
# File 'lib/rfunk/attribute/attribute.rb', line 8

def initialize(options = {})
  with_defaults
  with_attributes(options)
end