--- !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         #=&gt; &quot;Example::Demo&quot;\n  Demo.spacename    #=&gt; &quot;Example&quot;\n"
- !ruby/struct:SM::Flow::P 
  body: This used to be called <tt>dirname</tt>.
- !ruby/struct:SM::Flow::P 
  body: See also Module#basename.
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Trans"
full_name: Module#spacename
is_singleton: false
name: spacename
params: ()
visibility: public
