Class: Kielce::KielceDataAnalyzer

Inherits:
Object
  • Object
show all
Defined in:
lib/kielce/kielce_data.rb

Overview

Access KielceData instance variables. (We don’t want public accessors on the KielceData object because the name we choose may potentially conflict with user data.)

Class Method Summary collapse

Class Method Details

.data(obj) ⇒ Object



40
41
42
# File 'lib/kielce/kielce_data.rb', line 40

def data(obj)
  obj.instance_eval { @xx_kielce_data }
end

.name(obj) ⇒ Object



36
37
38
# File 'lib/kielce/kielce_data.rb', line 36

def name(obj)
  obj.instance_eval { @xx_kielce_obj_name }
end

.root(obj) ⇒ Object



32
33
34
# File 'lib/kielce/kielce_data.rb', line 32

def root(obj)
  obj.instance_eval { @xx_kielce_root }
end