Sha256: 1a9f59309fa7b1219849a8e32ae140b2a6002c2a5eb039d34b333f32413b2400

Contents?: true

Size: 177 Bytes

Versions: 2

Compression:

Stored size: 177 Bytes

Contents

# frozen_string_literal: true

module Maquina
  module ApplicationHelper
    def class_to_form_frame(klass)
      "#{klass.to_s.underscore.tr("/", "_")}_form"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
maquina-0.7.2 app/helpers/maquina/application_helper.rb
maquina-0.7.1 app/helpers/maquina/application_helper.rb