Module: Legion::Extensions::Builder::Helpers

Includes:
Base
Included in:
Core
Defined in:
lib/legion/extensions/builders/helpers.rb

Instance Method Summary collapse

Methods included from Base

#const_defined_two?, #define_constant_two, #define_get, #find_files, #require_files

Instance Method Details

#build_helpersObject



9
10
11
12
# File 'lib/legion/extensions/builders/helpers.rb', line 9

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

#helper_filesObject



14
15
16
# File 'lib/legion/extensions/builders/helpers.rb', line 14

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

#helpersObject



18
19
20
# File 'lib/legion/extensions/builders/helpers.rb', line 18

def helpers
  @helpers
end