Module: Kernel

Defined in:
lib/rubyoshka.rb

Overview

Kernel extensions

Instance Method Summary collapse

Instance Method Details

#H(**ctx, &template) ⇒ Rubyoshka

Convenience method for creating a new Rubyoshka

Parameters:

  • ctx (Hash)

    local context

  • template (Proc)

    template block

Returns:



85
86
87
# File 'lib/rubyoshka.rb', line 85

def H(**ctx, &template)
  Rubyoshka.new(**ctx, &template)
end