Class: Module
- Inherits:
 - 
      Object
      
        
- Object
 - Module
 
 
- Defined in:
 - lib/openhab/core_ext/ruby/module.rb
 
Overview
Extensions to Module
Instance Method Summary collapse
- 
  
    
      #simple_name  ⇒ String? 
    
    
  
  
  
  
  
  
  
  
  
    
Returns the name of the class or module, without any containing module or package.
 
Instance Method Details
#simple_name ⇒ String?
Returns the name of the class or module, without any containing module or package.
      10 11 12 13 14  | 
    
      # File 'lib/openhab/core_ext/ruby/module.rb', line 10 def simple_name return unless name @simple_name ||= java_class&.simple_name || name.split("::").last end  |