Class: Module
- Inherits:
-
Object
- Object
- Module
- Defined in:
- lib/when_exe/core/extension.rb
Overview
Extensions to Module class
Instance Method Summary collapse
- #_const_missing ⇒ Object
-
#const_missing(name) ⇒ Object
When 直下に定数として定義する時法・暦法(暗黙的追加).
Instance Method Details
#_const_missing ⇒ Object
486 |
# File 'lib/when_exe/core/extension.rb', line 486 alias :_const_missing :const_missing |
#const_missing(name) ⇒ Object
When 直下に定数として定義する時法・暦法(暗黙的追加)
491 492 493 494 495 496 497 |
# File 'lib/when_exe/core/extension.rb', line 491 def const_missing(name) if When.const_defined?(name) _const_missing(name) else When.const_missing(name) end end |