Module: Earthquake::IdVar

Included in:
Earthquake
Defined in:
lib/earthquake/id_var.rb

Defined Under Namespace

Classes: Gen

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#id_varObject

Returns the value of attribute id_var.



3
4
5
# File 'lib/earthquake/id_var.rb', line 3

def id_var
  @id_var
end

Instance Method Details

#id2var(id) ⇒ Object



5
6
7
# File 'lib/earthquake/id_var.rb', line 5

def id2var(id)
  id_var.id2var(id)
end

#var2id(var) ⇒ Object



9
10
11
# File 'lib/earthquake/id_var.rb', line 9

def var2id(var)
  id_var.var2id(var)
end