Sha256: f1153b833d583afb9e7fb837bc07471daca87dc1a2b4dae33f617f57f9d3e6e0

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module Legion
  module Extensions
    module Builder
      module Helpers
        include Legion::Extensions::Builder::Base

        def build_helpers
          @helpers ||= []
          @helpers.push(require_files(helper_files))
        end

        def helper_files
          @helper_files ||= find_files('helpers')
        end

        def helpers
          @helpers
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legionio-0.2.0 lib/legion/extensions/builders/helpers.rb