Class: Sl
- Inherits:
-
Object
- Object
- Sl
- Defined in:
- lib/simrb/init.rb
Overview
increase language block
Constant Summary collapse
- @@options =
{}
Class Method Summary collapse
Class Method Details
.<<(h) ⇒ Object
19 20 21 |
# File 'lib/simrb/init.rb', line 19 def << h .merge!(h) end |
.[](key) ⇒ Object
14 15 16 17 |
# File 'lib/simrb/init.rb', line 14 def [] key key = key.to_s .include?(key) ? [key] : key end |