Class: Guff::JavaSource::BodyBits::NestedBody

Inherits:
Object
  • Object
show all
Defined in:
lib/guff/java_source.rb

Instance Method Summary collapse

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