Module: Errno
- Defined in:
- mrbgems/mruby-errno/mrblib/errno.rb
Class Method Summary collapse
- .const_defined?(name) ⇒ Boolean
- .const_missing(name) ⇒ Object
-
.constants ⇒ Object
Module#constants is defined in mruby-metaprog So, it may be raised NoMethodError.
Class Method Details
.const_defined?(name) ⇒ Boolean
2 3 4 |
# File 'mrbgems/mruby-errno/mrblib/errno.rb', line 2 def Errno.const_defined?(name) __errno_defined?(name) or super end |
.const_missing(name) ⇒ Object
6 7 8 |
# File 'mrbgems/mruby-errno/mrblib/errno.rb', line 6 def Errno.const_missing(name) __errno_define(name) or super end |
.constants ⇒ Object
Module#constants is defined in mruby-metaprog So, it may be raised NoMethodError
12 13 14 |
# File 'mrbgems/mruby-errno/mrblib/errno.rb', line 12 def Errno.constants __errno_list(super) end |