Class: Guff::JavaSource::BodyBits::NestedBody
- Inherits:
-
Object
- Object
- Guff::JavaSource::BodyBits::NestedBody
- Defined in:
- lib/guff/java_source.rb
Instance Method Summary collapse
-
#initialize(body) ⇒ NestedBody
constructor
A new instance of NestedBody.
- #write_to(writer) ⇒ Object
Constructor Details
#initialize(body) ⇒ NestedBody
Returns a new instance of NestedBody.
330 331 332 |
# File 'lib/guff/java_source.rb', line 330 def initialize(body) @body = body end |
Instance Method Details
#write_to(writer) ⇒ Object
334 335 336 |
# File 'lib/guff/java_source.rb', line 334 def write_to(writer) @body.write_to(writer) end |