Module: SGC::Helper
- Defined in:
- lib/helpers/flags.rb,
lib/helpers/klass.rb,
lib/helpers/struct.rb,
lib/helpers/interface/ienum.rb
Defined Under Namespace
Modules: FlagsValue, IEnum, Struct
Class Method Summary collapse
-
.classname(klass) ⇒ String
The class name of the class without module string.
Class Method Details
.classname(klass) ⇒ String
Returns The class name of the class without module string.
39 40 41 |
# File 'lib/helpers/klass.rb', line 39 def classname(klass) klass.name.gsub(/.*\:\:/, "") end |