Module: Legion::Extensions::Helpers::Data

Includes:
Base
Included in:
Data
Defined in:
lib/legion/extensions/helpers/data.rb

Instance Method Summary collapse

Methods included from Base

#actor_class, #actor_const, #actor_name, #calling_class, #calling_class_array, #from_json, #full_path, #lex_class, #lex_const, #lex_name, #normalize, #runner_class, #runner_const, #runner_name, #to_dotted_hash

Instance Method Details

#data_classObject



13
14
15
# File 'lib/legion/extensions/helpers/data.rb', line 13

def data_class
  @data_class ||= lex_class::Data
end

#data_pathObject



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

def data_path
  @data_path ||= "#{full_path}/data"
end

#models_classObject



17
18
19
# File 'lib/legion/extensions/helpers/data.rb', line 17

def models_class
  @models_class ||= data_class::Model
end