Module: Ariadne::ViewHelper

Included in:
BaseComponent, Yard::Registry
Defined in:
app/lib/ariadne/view_helper.rb

Overview

Module to allow shorthand calls for Ariadne components

Defined Under Namespace

Classes: ViewHelperNotFound

Constant Summary collapse

HELPERS =
{
  heroicon: "Ariadne::UI::Heroicon::Component",
}.freeze

Class Method Summary collapse

Class Method Details

.generate_idObject



10
11
12
# File 'app/lib/ariadne/view_helper.rb', line 10

def generate_id
  SecureRandom.hex(6)
end