Class: CuteA
- Inherits:
-
Object
- Object
- CuteA
- Defined in:
- lib/rubyneat/foo.rb
Direct Known Subclasses
Instance Attribute Summary (collapse)
-
- (Object) cp
Returns the value of attribute cp.
Instance Method Summary (collapse)
-
- (CuteA) initialize
constructor
A new instance of CuteA.
Constructor Details
- (CuteA) initialize
Returns a new instance of CuteA
11 12 13 |
# File 'lib/rubyneat/foo.rb', line 11 def initialize puts "A initialized" end |
Instance Attribute Details
- (Object) cp
Returns the value of attribute cp
9 10 11 |
# File 'lib/rubyneat/foo.rb', line 9 def cp @cp end |