Class: CuteB

Inherits:
CuteA show all
Defined in:
lib/rubyneat/foo.rb

Instance Attribute Summary (collapse)

Attributes inherited from CuteA

#cp

Instance Method Summary (collapse)

Constructor Details

- (CuteB) initialize

Returns a new instance of CuteB



18
19
20
21
# File 'lib/rubyneat/foo.rb', line 18

def initialize 
  puts "B initialized"
  @acp = CuteA.new
end

Instance Attribute Details

- (Object) acp

Returns the value of attribute acp



17
18
19
# File 'lib/rubyneat/foo.rb', line 17

def acp
  @acp
end