Class: Wardite::CodeSection::CodeBody
- Inherits:
-
Object
- Object
- Wardite::CodeSection::CodeBody
- Defined in:
- lib/wardite.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(&blk) ⇒ CodeBody
constructor
A new instance of CodeBody.
Constructor Details
#initialize(&blk) ⇒ CodeBody
Returns a new instance of CodeBody.
79 80 81 |
# File 'lib/wardite.rb', line 79 def initialize(&blk) blk.call(self) end |