Class: CuteB
Instance Attribute Summary (collapse)
-
- (Object) acp
Returns the value of attribute acp.
Attributes inherited from CuteA
Instance Method Summary (collapse)
-
- (CuteB) initialize
constructor
A new instance of CuteB.
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 |