--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name of module's container module. - !ruby/struct:SM::Flow::VERB body: " module Example\n class Demo\n end\n end\n\n Demo.name #=> "Example::Demo"\n Demo.spacename #=> "Example"\n" - !ruby/struct:SM::Flow::P body: This used to be called dirname. - !ruby/struct:SM::Flow::P body: See also Module#basename. - !ruby/struct:SM::Flow::VERB body: " CREDIT: Trans\n" full_name: Module#spacename is_singleton: false name: spacename params: () visibility: public