Module: Cls::Prepend
- Included in:
- Cls
- Defined in:
- lib/muack/test.rb
Instance Method Summary collapse
- #prepend_aloha(a = 0, b = 1) ⇒ Object
- #prepend_bonjour(a: 0, b: 1) ⇒ Object
- #prepend_ciao(h = {a: 0, b: 1}) ⇒ Object
Instance Method Details
#prepend_aloha(a = 0, b = 1) ⇒ Object
22 23 24 |
# File 'lib/muack/test.rb', line 22 def prepend_aloha a=0, b=1 [a, b] end |
#prepend_bonjour(a: 0, b: 1) ⇒ Object
25 26 27 |
# File 'lib/muack/test.rb', line 25 def prepend_bonjour a: 0, b: 1 [a, b] end |
#prepend_ciao(h = {a: 0, b: 1}) ⇒ Object
28 29 30 |
# File 'lib/muack/test.rb', line 28 def prepend_ciao h={a: 0, b: 1} h.values_at(:a, :b) end |